Expand description
Normalized role-graph model.
These types represent the desired state or the current state of a
PostgreSQL cluster’s roles, privileges, default privileges, and memberships.
Both the manifest expansion and the database inspector produce these types,
and the diff engine compares two RoleGraph instances.
Structs§
- Default
Priv Key - Unique key identifying a default privilege rule.
- Default
Priv State - The privilege set for a default privilege rule.
- Grant
Key - Unique key identifying a grant target — (grantee, object_type, schema, name).
- Grant
State - The privilege set on a particular grant target.
- Membership
Edge - A membership edge — “member belongs to role”.
- Role
Graph - Complete state of managed roles, grants, default privileges, and memberships.
- Role
State - The set of PostgreSQL role attributes we manage.
Enums§
- Role
Attribute - A single attribute change on a role, used by
AlterRole.