Prevent blocked users from changing user rights through the API
authorAndrew H <crazy4sb@gmail.com>
Mon, 21 Dec 2015 20:17:40 +0000 (20:17 +0000)
committerAndrew H <crazy4sb@gmail.com>
Tue, 22 Dec 2015 17:49:52 +0000 (17:49 +0000)
commit6a4b8043d45011c195031d57629af407e62bfa98
tree3715ce98d71a34f7dd0781da548d79908880e56e
parent90500d15e769ec4f98a74d294bdc79b057c737df
Prevent blocked users from changing user rights through the API

Prevent blocked users only if they do not have full userrights privleges,
which is the same behavior as implemented in Special:UserRights.

Change-Id: I69557b0951c8fb8b4e7d3ba571b0e5d30782ab4c
includes/api/ApiUserrights.php