Add 'viewmyprivateinfo', 'editmyprivateinfo', and 'editmyoptions' rights
authorBrad Jorsch <bjorsch@wikimedia.org>
Mon, 10 Jun 2013 19:30:43 +0000 (15:30 -0400)
committerBrad Jorsch <bjorsch@wikimedia.org>
Wed, 3 Jul 2013 17:40:04 +0000 (13:40 -0400)
commit08adf46b262d05da6e0082241abd42dd8da68a82
treef0a8e27b6d81a970145420966904250e9c687c72
parentc2c40b2b9b18457de40f7bda43c4f32edea05275
Add 'viewmyprivateinfo', 'editmyprivateinfo', and 'editmyoptions' rights

These are needed for OAuth grants.

Note that we don't bother with a 'viewmyoptions' right, since the
majority will be determinable from just observing the interface.

Note that the fact of having a confirmed email address cannot be
reliably hidden, and if the user has 'sendemail' they may be able to
determine the real name and email address by sending an email to another
account that they control.

Change-Id: I3f03dd010020e8d43cc2d3bca7b3ef7196d1c548
19 files changed:
RELEASE-NOTES-1.22
includes/DefaultSettings.php
includes/Metadata.php
includes/Preferences.php
includes/User.php
includes/api/ApiOptions.php
includes/api/ApiQueryUserInfo.php
includes/specials/SpecialChangeEmail.php
includes/specials/SpecialChangePassword.php
includes/specials/SpecialConfirmemail.php
includes/specials/SpecialPasswordReset.php
includes/specials/SpecialPreferences.php
includes/specials/SpecialWatchlist.php
languages/messages/MessagesEn.php
languages/messages/MessagesQqq.php
maintenance/dictionary/mediawiki.dic
maintenance/language/messages.inc
tests/phpunit/includes/UserTest.php
tests/phpunit/includes/api/ApiOptionsTest.php