It should not be possible for an administrator to change their role to "Instructor" #1100
Labels
good first issue
If you're a first time contributor this is a good issue for you!
help wanted
Looking for contributors to assist with this issue
Type: Bug
Bugs and errors
Milestone
Reproduction Steps
Expected Behavior
edit_users
capability and this behavior would be expected trying to switch yourself to an instructor.Actual Behavior
More Information
Since instructors are able to edit users (assistant instructors) they kind of have this capability but only for specific users.
We should hook into this bulk edit role change and add additional checks when changing yourself from admin (or lms_manager) to instructor.
The text was updated successfully, but these errors were encountered: