Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed ability for non-admin to make themselves admin
When non-admins are changing their role, instead of posting one of the role ids available on the page, they can post the role id of admin role - this assigns them an admin role. Added a check not to allow non-admins to assign admin roles.
- Loading branch information