Roles and permissions explorer
Trace captured role memberships and object-privilege routes locally. No database connection, uploaded data or permission changes.
Capture format and model scope
Run the read-only PostgreSQL 14+ export in your database client. It captures pg_roles attributes (no password fields), membership options, normalized current ACLs, policy metadata and future default-ACL overrides. Null catalog ACLs are resolved with acldefault at capture time; an absent JSON grant array stays unknown, while [] means an empty captured ACL.
Input is JSON with roles, memberships and objects arrays plus server version and scope metadata. See the example for the normalized fields. OIDs identify roles and objects within this snapshot; names are display text. The export covers non-system schemas, ordinary columns, routines, non-array/non-multirange types, wrappers, foreign servers and tablespaces. Languages, large objects, parameter ACLs, other-database objects and authentication configuration are omitted.
PostgreSQL 14–15 uses member-role INHERIT attributes; 16–19 uses per-membership INHERIT/SET options. The modeled current role’s grants replace the session role’s grants after a role switch. Role attributes such as SUPERUSER and BYPASSRLS are not inherited. Owner authority, object grant options, membership ADMIN options, schema USAGE and RLS are separate from ordinary ACL routes.
A found ACL route is not a query-success verdict. Policy expressions are not evaluated; view/SECURITY DEFINER/trigger/partition behavior, connection rules, column selection, cached lookups and foreign user mappings require query/server context. Default ACL overrides are future-only and are not applied to existing objects here.
Role membership · Legacy inheritance · Privileges and ownership · Row security · Predefined roles · Future defaults
Prepared export
Audit role context
This is an offline model, not a connected database session. LOGIN flags, passwords, expiry metadata and connection limits do not establish whether authentication would succeed.
Scope and interpretation
Object privilege routes
Click a cell to inspect its evidence. route = supported captured route; — = no supported route found; ? = incomplete/uncertain. These are not query-success or effective-row verdicts. Ownership and RLS do not replace an ordinary privilege.
Future default-ACL overrides
These are captured override records, not the resulting full ACL of every future object. Only the actual creator role’s defaults apply at creation time; defaults are not inherited from group roles and do not alter existing objects.