Open
Description
openedon Aug 18, 2022
@sberyozkin @phillip-kruger
For rest APIs we have option to add authorization based on endpoints.
https://quarkus.io/guides/security-authorization
How can we have something similar for graphql endpoints. Currently the only option is to add @RolesAllowed annotation on top of the graphql APIs.
For example i have 2 query and 2 mutations for Case and Audit and i need Case to be accessible if role is CaseUser and Audit role is for AuditUser.
how to specify this in application.properties similar to rest apis configuration for security.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment