User role

UI

 * User with Owner role assigns Moderator and Administrator roles or takes them away.


 * User with Owner role will see a "User role" option when they look at a user's profile.


 * "User role" option view in user's profile will be similar to "Moderate" option i.e., on "User role" hover, options are revealed.


 * "User role" will have two options "Administrator", "Moderator" (or the inverse). Icons will have the respective two states.


 * On clicking a user role, the respective form is submitted.

owner/profile/role
 * Users with either Administrator, Moderator or both roles (and feature roles) can also be managed from

scripts/userrole.php -nusername -rowner scripts/userrole.php -nusername -radministrator scripts/userrole.php -nusername -rmoderator
 * Run scripts/userrole.php

Source

 * classes/User_role.php