9 lines
379 B
Markdown
9 lines
379 B
Markdown
# c77_rbac
|
|
A PostgreSQL extension for role-based access control (RBAC).
|
|
|
|
## Setup for Cross-Schema Usage
|
|
If applying `c77_rbac_apply_policy` to a table in a non-public schema, ensure the schema has `USAGE` permissions for the roles that will access it:
|
|
|
|
```sql
|
|
GRANT USAGE ON SCHEMA your_schema TO PUBLIC;
|
|
GRANT SELECT, INSERT, UPDATE, DELETE ON your_schema.your_table TO PUBLIC; |