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

Allow admin to assign a user to a different role #12

Open
amellie opened this issue Jul 5, 2022 · 0 comments
Open

Allow admin to assign a user to a different role #12

amellie opened this issue Jul 5, 2022 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@amellie
Copy link
Collaborator

amellie commented Jul 5, 2022

Dependency

This issue depends on #19

Story

 
As an admin
I Want to assign a different role to an existing user
So That the user can perform tasks specific to the role (e.g. marking, etc)
 

Acceptance Criteria

 

  • Add a new admin user into the database with the role = ADMIN
  • We should have a separate admin page (only accessible by users with ADMIN role) which allows the admin to assign a role to a user
  • At the very minimum, the page should show: the list of users, type of role (ADMIN, TEACHER, or STUDENT), and a button to submit
  • If the user is a teacher and the role selected is also a teacher, then an error message should be shown: "The user XXX already has the selected role"
@amellie amellie added the enhancement New feature or request label Jul 5, 2022
@amellie amellie transferred this issue from another repository Jul 8, 2022
@migmow migmow assigned migmow and Ali-Jahankah and unassigned migmow Jul 12, 2022
@amellie amellie assigned migmow and unassigned Ali-Jahankah Jul 16, 2022
@migmow migmow closed this as completed Jul 22, 2022
@migmow migmow reopened this Jul 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants