smallrye-graphql icon indicating copy to clipboard operation
smallrye-graphql copied to clipboard

Use `@RolesAllowed` etc. to limit schema

Open t1 opened this issue 4 years ago • 0 comments

The schema is limited to the fields a user actually has access to, e.g. only users authenticated as a member of the admin role can see a query annotated as @RolesAllowed("admin"). This works also for nested fields (see #958).

t1 avatar Aug 06 '21 09:08 t1