Skip to content
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

Customizable user roles #737

Open
matthew-white opened this issue Oct 4, 2024 · 0 comments
Open

Customizable user roles #737

matthew-white opened this issue Oct 4, 2024 · 0 comments
Labels
backend Requires a change to the API server enhancement New feature or behavior frontend Requires a change to the UI roles User roles

Comments

@matthew-white
Copy link
Member

matthew-white commented Oct 4, 2024

We know that there is interest in user roles beyond the ones we currently offer. We're tracking specific ideas for additional roles at #736. One option is that we simply add new fixed user roles, but another idea is that we add the ability for users to create their own roles. For each role, users would specify a name and a list of verbs that the role should confer.

Implied verbs

One piece of complexity in this area is that currently, some verbs imply other verbs:

We would want to make these verb implications clear in Frontend. One approach that we've discussed to make verb implications more explicit is getodk/central-backend#1205. That PR adds a database table for verbs, as well as a table for verb implications. If such a table existed, then one idea is that Backend could return a list of verb implications to Frontend.

@matthew-white matthew-white added enhancement New feature or behavior backend Requires a change to the API server frontend Requires a change to the UI roles User roles labels Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Requires a change to the API server enhancement New feature or behavior frontend Requires a change to the UI roles User roles
Projects
None yet
Development

No branches or pull requests

1 participant