Disable GraphQL Query and Subscription Root Fields selectively with RBAC
📰 Dev.to · Hasura
Learn to disable GraphQL query and subscription root fields selectively using Role-Based Access Control (RBAC) in Hasura
Action Steps
- Identify the database tables in your Hasura app that require restricted access
- Configure RBAC rules to disable query and subscription root fields for specific roles
- Use the Hasura console to update the GraphQL schema and apply the RBAC rules
- Test the restricted access to ensure it works as expected
- Apply the same RBAC rules to other database tables as needed
Who Needs to Know This
Developers and engineers working with Hasura and GraphQL can benefit from this to control access to their database tables
Key Insight
💡 Use RBAC to selectively disable GraphQL query and subscription root fields in Hasura
Share This
🚫 Control access to your GraphQL schema with RBAC in Hasura! 🚀
Key Takeaways
Learn to disable GraphQL query and subscription root fields selectively using Role-Based Access Control (RBAC) in Hasura
Full Article
For each database table in a Hasura app, the GraphQL engine creates three root fields by default....
DeepCamp AI