Page MenuHomePhabricator

hide username box on Special:UserRights when user cannot change userrights from other users
Closed, ResolvedPublic

Description

The box for the username on Special:UserRights is useless for users who can only change his own rights. Please hide/remove this box when user cannot change other users userrights. Thanks.


Version: unspecified
Severity: enhancement

Details

Reference
bz21518

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:56 PM
bzimport set Reference to bz21518.
bzimport added a subscriber: Unknown Object (MLST).

Created attachment 6809
pic of the form

You have to test userrights before call $this->switchForm(); in SpecialUserrights.php, line 103 (r57064)

Attached: