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

Show the `@RolesAllowed` as directives in the schema

Open t1 opened this issue 4 years ago • 0 comments

If a user has access to a field (see #958 and #959), the schema also contains a corresponding directive indicating the roles that are allowed to see that field. E.g. a field annotated as @RolesAllowed("admin") has a directive @rolesAllowed("admin").

t1 avatar Aug 06 '21 09:08 t1