acl
ACL Data type
pg_acl : ACL Data type
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 3810 | acl | pg_acl | 1.0.4 |
TYPE | BSD-2-Clause | C |
| Attribute | Has Binary | Has Library | Need Load | Has DDL | Relocatable | Trusted |
|---|---|---|---|---|---|---|
| --s-d-r | No | Yes | No | Yes | yes | no |
| Relationships | |
|---|---|
| See Also | pgaudit pg_permissions set_user pg_roast table_log pgmemento pg_auditor pgelog pg_auth_mon pg_readonly |
+cast pg_uuid_t
Packages
| Type | Repo | Version | PG Major Compatibility | Package Pattern | Dependencies |
|---|---|---|---|---|---|
| EXT | PIGSTY | 1.0.4 |
18 17 16 15 14 | pg_acl |
- |
| RPM | PIGSTY | 1.0.4 |
18 17 16 15 14 | acl_$v |
- |
| DEB | PIGSTY | 1.0.4 |
18 17 16 15 14 | postgresql-$v-acl |
- |
| Linux / PG | PG18 | PG17 | PG16 | PG15 | PG14 |
|---|---|---|---|---|---|
| el8.x86_64 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 |
| el8.aarch64 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 |
| el9.x86_64 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 |
| el9.aarch64 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 |
| el10.x86_64 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 |
| el10.aarch64 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 |
| d12.x86_64 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 |
| d12.aarch64 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 |
| d13.x86_64 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 |
| d13.aarch64 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 |
| u22.x86_64 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 |
| u22.aarch64 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 |
| u24.x86_64 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 |
| u24.aarch64 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 |
| u26.x86_64 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 |
| u26.aarch64 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 | PIGSTY 1.0.4 |
Source
github.com/arkhipov/acl
acl-1.0.4.tar.gz
Install
Make sure PGDG and PIGSTY repo available:
Install this extension with pig:
Create this extension with:
Usage
The acl extension provides Access Control List types for row-level security based on application users, without requiring separate database accounts.
Data Types
ace: Standard role-based ACE using PostgreSQL OIDsace_int4: ACE with 32-bit integer identifiersace_int8: ACE with 64-bit integer identifiersace_uuid: ACE with UUID identifiers
ACLs are stored as PostgreSQL arrays of ACE types (e.g., ace[]).
ACE Format
- Type:
a(allow) ord(deny) - Flags:
i(inherit only),o(object inherit),c(container inherit),p(no propagate),h(inherited) - Who: Role name, OID, integer, UUID, or
""(everyone) - Permissions:
r(read),w(write),d(delete),c(read ACL),s(write ACL), plus 16 custom permissions (0-F)