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

Rights by role #18

Open
5 of 9 tasks
dcollie2 opened this issue Jan 2, 2025 · 0 comments
Open
5 of 9 tasks

Rights by role #18

dcollie2 opened this issue Jan 2, 2025 · 0 comments
Assignees

Comments

@dcollie2
Copy link
Collaborator

dcollie2 commented Jan 2, 2025

Summary

There are only two roles for logged-in users: Administrators and Contributors. Users can be contributors for only one provider (the optional has-many relationship). Administrator status is a flag on a user. Technically, a user can be an administrator and be a contributor for a provider, but in a practical sense, they will just be an administrator.

Dependency

Users, sessions, and providers need to be in place before doing this.

Details

Image

Criteria for Completion

  • A user can be an admin.
  • A user can belong to a provider.
  • User add/edit UI offers a select list for easy association with a provider
  • A user must either be an admin or belong to a provider.
  • Only admins can access user management CRUD
  • Only admins can manage languages
  • Only admins can mange regions
  • Only admins can manage providers
  • Non-admin users can manage topics belonging to the user's provider
@dcollie2 dcollie2 self-assigned this Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants