Choose your path
On this page
Try pgroles
Bring an existing database under management
Start with staged adoption and check executor prerequisites. Additive mode lets you introduce declared access before deciding which undeclared access to remove.
Review a policy or plan
Learn PostgreSQL roles through interactive exercises covering roles, ownership, default privileges, and row security. Start at the beginning or jump to the topic you need.
Why pgroles?
Record intended access in a version-controlled policy, review the SQL it produces, and reconcile the scope you manage. The policy guide explains how the pieces fit together.
Key features
Use profiles and schemas to reuse privilege rules, default privileges to cover future objects, and planning and reconciliation modes to choose which changes pgroles may make.