-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Website database admin #15
Comments
@jrmerz A few questions -- 1. Adding Users Example fields --
Do users have any power over managing their own account (like changing their password or display name, deleting their account from a database)? 2. Roles |
AccountsA
The
Allowing non-cas users will be a design TODO for later (probably after launch). Passwords are handled by CAS. RolesRoles are more tricky. Postgres has a role system, where you can assign access to tables/views/functions to roles and then assign roles to users. However, normal user accounts are a role as well, and can be directly assigned access to tables/views/functions. Additionally, there are A LOT of different permissions for the various database types (tables/views/functions/sequences, etc) https://www.postgresql.org/docs/current/ddl-priv.html . My approach. PG Farm has simplified commands so an admin can think in terms of granting read or read+write access to a single table/view/function or they can grant read or read+write access to ALL objects (again tables/views/functions) in a schema (databases have multiple schemas). It's my goal to push researchers to think of user access on the schema level, to simplify their lives. ie *A final foot note. Say I grant |
Functionality overview:
Functional screenshots:
User view:
Table view:
Edit View:
The text was updated successfully, but these errors were encountered: