auth
oliphant · Bulk role and table privilege management
Overview
Usage
Sources:
auth is Oliphant’s privilege-management extension. It inspects, copies or moves authorizations and can save table grants before a table is replaced.
Core Workflow
Operational Boundaries
These are legacy pure-SQL/PLpgSQL utilities originally documented for PostgreSQL 9.x. Current-major compatibility is unverified. Installation uses the control defaults and needs administrator privileges; no shared library or preload is required. copy_role_auths adds missing grants to a destination role; move_role_auths also removes them from the source. The caller still needs grant/revoke authority, usually a superuser. Object ownership is not transferred. store_table_auths writes stored_table_auths; restore_table_auths replays the saved grants. Inspect saved rows before restoring, especially after table replacement or manual edits.