Create ability for Admins to promote and demote Admins #1486
Labels
complexity: medium
feature: Database
p-feature: User Permissions
Feature includes how user access levels / user permissions will be implemented in the product
p-feature: Users List
role: Back End
role: Front End
size: 3pt
Can be done in 13-18 hours
Milestone
Overview
Right now the only avenue to promote a user to admin level is to ping someone with DB access and have them promote the account. Not ideal.
Action Items
The EditUser accessible by an admin needs the ability to promote and demote admins. Here's the short list:
PR Needs
This will require both front end and back end edits
Front end edits:
This function edits the user's admin status
and stores the the user id_id
of the admin that promoted them.Back end edits:
updateuser.model.js
to have anadminPromotedBy
property of typestring
Resources
This task is fairly similar to #1452 , so feel free to use that PR's code as a model for how to do this PR.
The text was updated successfully, but these errors were encountered: