postgres-hr
v0.0.21
Published
Manage Postgres roles in a sane way
Downloads
9
Maintainers
Readme
PostgresHR
Manage Postgres roles in a sane way.
Installation
npm i -g postgres-hr
Usage
postgres-hr
The UI will be available at http://localhost:9876
To run the interface at a different port, set the PORT
environment variable.
PORT=1234 postgres-hr
- Add a new connection.
- Select it from top right dropdown.
- Select the roles & schemas you want to work with.
- Click away on the permissions on the column, table, etc under the roles.
- Functions associated with a trigger will appear under that trigger.
- Triggers associated with a table will appear under that table.
Disclaimer
I made this over an year ago, and have been using it internally for my hobby projects. This is not intended to be used on production databases, please proceed with caution. Use this on a local copy and then pg_dumpall --roles
.
Interface available here: https://github.com/butttons/postgres-hr-interface