Skip to content
Discussion options

You must be logged in to vote

Hey @rodezee

Re: Is it true you use a different system than the normal roles used in PostgreSQL?

Yes. You might be expecting that Postgres row security polices should mutually work with Hasura. But let me clarify, that Hasura has their own row security polices, and they enforce rules in generated SQL when you perform a query/mutation via Hasura.

We maintain permissions for each db object (tables/functions) in metadata. So you may find roles in metadata rather than querying via SQL against any table.

Note: Hasura’s permissions are only enforced when querying the database via Hasura itself. If you tried to implement roles on your own in the Postgres, then you would not be able to access or…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Answer selected by adas98012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
1 participant