You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ujibang
changed the title
Add auth GraphQL directive to control field visibility to roles
Add auth GraphQL directive to control field visibility according to auth roles
Aug 9, 2023
Brief overview
Enhance GraphQL authorization providing a field directive to enforce visibility on the basis of client role.
Rationale
Currently RH allows to provide different views to different roles with the so called multi-schema solution: see https://restheart.org/docs/security/security-hardening#define-role-specific-graphql-applications
A more flexible approach is providing a directive to control field visibility:
See also https://www.graphql-java.com/documentation/field-visibility/
Detailed documentation
TBD
The text was updated successfully, but these errors were encountered: