Skip to main content

Module security

Module security 

Source

Re-exports§

pub use schema_binding::BoundSchemaSecurity;
pub use table_binding::BoundTableSecurity;
pub use sequence_binding::BoundSequenceSecurity;

Modules§

acl_command
An ACL command binds its recipients once and projects those identities after catalog waits.
columns
Table-shaped relation column ACL grant paths and privilege checks.
database
Database ACL values, grant paths, privilege checks and dependency-aware revocation.
database_inquiry
Database privilege inquiry with ordered identity, catalog and security reads.
dependencies
Added role dependencies are computed for each independently stored ACL.
grants
Shared namespace binding for relation privilege declarations.
ownership
Read-only authority shared by object ownership checks.
schema
Schema ACL privilege sets, grant paths, and dependency-aware revocation.
schema_binding
Schema registries retain role incarnations while command views use current names.
schema_inquiry
Schema privilege inquiry, namespace visibility and default security rules.
sequence
Sequence ACL privilege sets, grant paths, and dependency-aware revocation.
sequence_binding
Sequence owners, grantees and grantors retain their original role incarnations.
sequence_grants
Sequence GRANT target binding, namespace rules and ACL candidates.
sequence_inquiry
Sequence privilege inquiry, target binding and access checks.
system_relations
System relation ACL defaults, persistence validation and effective privilege rules.
table
Table-shaped relation ACL privilege sets, grant paths, and dependency-aware revocation.
table_binding
Table and column ACLs retain role incarnations independently of display names.
table_grants
Table and column GRANT/REVOKE validation, ACL candidates and diagnostics.
table_inquiry
Table and column privilege inquiry and PostgreSQL relation/attribute binding rules.
view_authorization
View and public-column access rules using the current authorization catalogs.
view_ownership
View ownership, schema-owner drop authority, and materialized-view maintenance rules.

Structs§

SchemaSecurity
SequenceSecurity
TableAclEntry
One explicit table-shaped relation ACL path. Legacy entries without an explicit grantor originate from the relation owner.
TablePrivileges
Grantable privileges carried by one table-shaped relation ACL path.
TableSecurity
Complete table-shaped relation security state. Ownership and ACL changes are published through one value so readers cannot observe a torn authorization state.

Enums§

AclGrantee
A named recipient can have any valid role spelling, including the quoted name PUBLIC.