https://bugzilla.wikimedia.org/show_bug.cgi?id=33732

       Web browser: ---
             Bug #: 33732
           Summary: action=userrights: give error, when user is not allow
                    to change userrights
           Product: MediaWiki
           Version: 1.19-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: API
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]
    Classification: Unclassified


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.

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to