We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
@casl
@msvoro, this issue continues #31
@skip
@include
Implement either hasura action (on top of hasura permissions tables/views or rest api https://hasura.io/docs/latest/graphql/core/auth/authorization/permission-rules.html) or postgres function
query currentUserAbilities { currentUserAbilities { action subject fields conditions } ]
returns:
[ { action: ['select', 'insert', 'update'], fields: ['id', 'seq', 'name', ...], subject: 'Entity1', conditions: { created_by: '%current_user%'} }, { inverted: true, action: ['select', 'insert', 'update', 'delete'], fields: ['id', 'seq', 'name', ...], subject: 'Entity2', conditions: { created_by: '%current_user%'} } ]
FYI, this example pull request will be used for codegen as an example.
The text was updated successfully, but these errors were encountered:
casl
No branches or pull requests
@msvoro, this issue continues #31
Pages accessible only for certain roles
Entity Fields accessible only for certain roles
@skip
/@include
according to permissions https://hasura.io/docs/latest/graphql/core/databases/postgres/queries/variables-aliases-fragments-directives.html for individual fieldsExtend Hasura for quering permissions
Implement either hasura action (on top of hasura permissions tables/views or rest api https://hasura.io/docs/latest/graphql/core/auth/authorization/permission-rules.html) or postgres function
returns:
FYI, this example pull request will be used for codegen as an example.
The text was updated successfully, but these errors were encountered: