* Added 'writeapi' right that controls access to the write API. Users who don't have...
authorRoan Kattouw <catrope@users.mediawiki.org>
Tue, 27 May 2008 15:43:07 +0000 (15:43 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Tue, 27 May 2008 15:43:07 +0000 (15:43 +0000)
commit379eb2210b5bea36f0e11968d183f01bdd00d752
tree1498f8b36d4bb97d9ecf68a36c81c2705f0eae1f
parentd47835029553e2f2f0be7448bb8856fcbf6411d2
* Added 'writeapi' right that controls access to the write API. Users who don't have this right won't be able to use the write API modules even if $wgEnableWriteAPI = true; and they have the other rights required
* Checking for 'writeapi' in ApiMain::requestWriteMode() and tweaking the noapiwrite error message a bit
* Granting this right to *, user and bot by default.

For extra clarity: to e.g. move pages through the API, a user needs to have the 'move' right AND the 'writeapi' right AND $wgEnableWriteAPI = true;
includes/DefaultSettings.php
includes/api/ApiMain.php