Expand description
Shared helpers for grant reconciliation across apply commands.
Enums§
- Grant
Named Object Kind - The kind of named infrastructure object for grant reconciliation.
- Grant
Object Kind - The kind of database object for grant reconciliation.
Functions§
- desired_
grants - Extract
(grantee, privilege_type)pairs from parsed GRANT statements. - execute_
revocations - Execute REVOKE statements for stale grants, printing status for each.
- reconcile
- Reconcile grants for a single object: apply desired grants, revoke stale ones.
- reconcile_
named_ object - Reconcile grants for a named infrastructure object (cluster or network policy).
- stale_
grant_ revocations - Compute REVOKE statements for grants that exist in
currentbut not indesiredand not inprotected(3-way set difference).