4 ms·
Is there some way to make data available to specific users, but unavailable to others? Basically enforcing an ACL or similar?
by maratd 8y ago
Is there some way to make data available to specific users, but unavailable to others? Basically enforcing an ACL or similar?
- tango12 8y agoYep! Hasura allows you to configure access control rules which are namespaced by "roles" that you can attach to your tables. Each permission rule can reference a session variable that comes in from your authentication system (whatever it is). Docs: https://docs.hasura.io/1.0/graphql/manual/auth/index.html https://docs.hasura.io/1.0/graphql/manual/auth/index.html Examples: https://docs.hasura.io/1.0/graphql/manual/auth/common-roles-auth-examples.html https://docs.hasura.io/1.0/graphql/manual/auth/common-roles-...