Last modified: 2012-06-29 20:08:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T35732, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 33732 - action=userrights: give error when user is not allowed to change userrights
action=userrights: give error when user is not allowed to change userrights
Status: NEW
Product: MediaWiki
Classification: Unclassified
API (Other open bugs)
1.20.x
All All
: Low normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-01-14 22:39 UTC by db [inactive,noenotif]
Modified: 2012-06-29 20:08 UTC (History)
6 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description db [inactive,noenotif] 2012-01-14 22:39:47 UTC
At the moment the action=userrights modules makes nothing, when the user is not allow to change any userrights or one of the specified userrights. It is better to get a api error in this case.

Thanks.

You can call UserrightsPage::userCanChangeRights to check if the user can change any userrights.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links