Good evening
As I can generate an automatic grapqhl scheme with postgraphile through a role.
I need to generate a scheme with a minimum number of tables taking into account the role, can this be done?
I do not speak English well, thank you.
Yes; please use --no-ignore-rbac CLI flag (or ignoreRBAC: false library option) so that permissions are reflected in the GraphQL schema.
This behaviour will be default in v5; please see "[RECOMMENDED]" options in docs: https://www.graphile.org/postgraphile/usage-cli/
[semi-automated message] Thanks for your question; hopefully we're well on the way to helping you solve your issue. This doesn't currently seem to be a bug in the library so I'm going to close the issue, but please feel free to keep requesting help below and if it does turn out to be a bug we can definitely re-open it 👍
You can also ask for help in the #help-and-support channel in our Discord chat.
Most helpful comment
[semi-automated message] Thanks for your question; hopefully we're well on the way to helping you solve your issue. This doesn't currently seem to be a bug in the library so I'm going to close the issue, but please feel free to keep requesting help below and if it does turn out to be a bug we can definitely re-open it 👍
You can also ask for help in the #help-and-support channel in our Discord chat.