I built pgroles to manage PostgreSQL roles/grants/memberships declaratively. You define desired state in YAML, pgroles inspects the live DB, computes a convergent diff, and renders the exact SQL to apply.

Show HN: Pgroles – declarative PostgreSQL access control
hardbyte.github.io