Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limited GRANT on table causes function type detection to fail #373

Closed
1 of 3 tasks
purge opened this issue Jan 9, 2019 · 2 comments
Closed
1 of 3 tasks

Limited GRANT on table causes function type detection to fail #373

purge opened this issue Jan 9, 2019 · 2 comments

Comments

@purge
Copy link
Contributor

purge commented Jan 9, 2019

I'm submitting a ...

  • bug report
  • feature request
  • question

PostGraphile version:

4.2.0

Minimal SQL file that can be loaded into a clean database:

https://gist.github.com/purge/ae14aedfc76598bc2ffc3e647e0939af

Steps to reproduce:

no ignore rbac is required to fail

postgraphile --no-ignore-rbac -c "postgres://test:test@/test_case"

Current behavior:
shows warning

Expected behavior:
no warning

@benjie
Copy link
Member

benjie commented Jan 9, 2019

It seems we’re not generating the input types for this volatile function (custom mutation). We should though, because functions may need them. Good catch 👍

@benjie
Copy link
Member

benjie commented Jan 10, 2019

Transferring to Graphile Engine repo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants