Skip to main content

Module acl

Module acl 

Source
Expand description

ACL trait-level helper operations.

The direct-DatabaseConnection implementations that backed the AclDb blanket impl moved into the closed cognee-access-control crate: the auth entities they depended on (acl, permission, principal, user_role, user_tenant) no longer exist on the OSS schema.

What remains here is the trait-only helper used by the OSS ingestion pipeline (which still wires an &dyn AclDb) and the canonical PERMISSION_NAMES list both halves of the split agree on.

Constants§

PERMISSION_NAMES
All permission names defined in the system.

Functions§

grant_all_permissions_on_dataset_via_trait
Grant all four permissions (read, write, delete, share) to a principal on a dataset via the AclDb trait.