Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

hierarchical user roles #934

@TanyaStere42

Description

@TanyaStere42

Context

Roles will be hierarchical, meaning you have one role, and each role comes with the permissions of the one below it.

User Story

  • As a user manager or admin creating/editing a user’s account, I can only select one role:
    • Contributor: submit, maintain list of submissions
    • Researcher: matching, edit sightings, edit individuals
    • user manager: collaborations for others, edit users, reset passwords, see the /requests page
    • admin: all
  • As a user, I have only the permissions associated with my given role

Technical notes

Migration: user gets the highest role they had previously
What to do with "staff"? can ignore or we can fold in to be admins.

Dependent stories:
Requires #932 and #933

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions