Skip to main content

Module acl

Module acl 

Source
Expand description

Permission types backing the granular ACL.

These types are reused by the storage layer (wasm-dbms-memory::acl), the engine (wasm-dbms::Dbms) and the IC canister surface. They live in wasm-dbms-api so that crate::error::DbmsError::AccessDenied can reference them without pulling in the memory crate.

Structs§

IdentityPerms
Effective permission set carried by a single identity.
TablePerms
Per-table permission bits.

Enums§

PermGrant
Grant action.
PermRevoke
Revoke action — symmetric to PermGrant.
RequiredPerm
Marker passed in crate::error::DbmsError::AccessDenied to describe the perm that was missing.