Last modified: 2011-10-07 14:05:42 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 T17641, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 15641 - Blocked administrator inconsistencies
Blocked administrator inconsistencies
Status: REOPENED
Product: MediaWiki
Classification: Unclassified
Page protection (Other open bugs)
unspecified
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 21882 (view as bug list)
Depends on:
Blocks: 15810
  Show dependency treegraph
 
Reported: 2008-09-18 18:15 UTC by Ian14
Modified: 2011-10-07 14:05 UTC (History)
11 users (show)

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


Attachments

Description Ian14 2008-09-18 18:15:02 UTC
When blocked, on one's own talk page one:

*can load the move form, but cannot submit (although the blocked header which is returned is malformed)
*can change the protection levels
*can delete the page, but cannot undelete (but can recreate as intended)

Additionally, when blocked, one can block and unblock other users.


Expected results:
*One should not be able to undertake any admin functions on one's own talk page whilst blocked
*One should not be able to block or unblock other users whilst blocked
Comment 1 River Tarnell 2008-09-18 18:16:56 UTC
I believe blocking and unblocking users while blocked was discussed before and the decision was this should be allowed.  (Unfortunately, I don't remember the reasons, or where that was.)
Comment 2 Chad H. 2008-09-18 18:25:31 UTC
(In reply to comment #1)
> I believe blocking and unblocking users while blocked was discussed before and
> the decision was this should be allowed.  (Unfortunately, I don't remember the
> reasons, or where that was.)
> 

Two scenarios I can think of:

A) There's only 1 sysop. He blocks himself. Now he can't unblock himself unless someone tweaks the database.

B) There's two sysops. One goes rogue and blocks the 2nd. 2nd is now incapable of doing anything.

I can't remember where this was discussed, but I believe these were the reasons.
Comment 3 Al Tally 2008-09-18 19:00:45 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > I believe blocking and unblocking users while blocked was discussed before and
> > the decision was this should be allowed.  (Unfortunately, I don't remember the
> > reasons, or where that was.)
> > 
> 
> Two scenarios I can think of:
> 
> A) There's only 1 sysop. He blocks himself. Now he can't unblock himself unless
> someone tweaks the database.
> 
> B) There's two sysops. One goes rogue and blocks the 2nd. 2nd is now incapable
> of doing anything.
> 
> I can't remember where this was discussed, but I believe these were the
> reasons.
> 

That's for blocking/unblocking themselves. We need the reasons for *other* users.
Comment 4 Ian14 2008-09-18 19:22:05 UTC
The standard concept seems to be that you can't undertake any editorial or administrative action when blocked besides:
*editing your own talk page (to communicate)
*unblocking yourself (for technical reasons outlined above)

The matters I have highlighted, as comment #3 said, seem inconsistent with this. You should have to be unblocked (or unblock yourself) to do any more, adding a layer of accountability.
Comment 5 Alexandre Emsenhuber [IAlex] 2010-02-10 16:05:09 UTC
*** Bug 21882 has been marked as a duplicate of this bug. ***
Comment 6 FT2 2010-02-10 18:11:57 UTC
(Copied from bug 21882)

An administrator who is blocked, should lose the use of most admin tools,
except perhaps the passive IP Block Exemption, and the ability to block and
unblock.

Rationale:

Blocking admins happens very rarely, in general only when there is a concern
about present and immediate conduct, sysop account compromise and the like and
while waiting for the local temporary desysop process to be completed. 

When an administrator account is blocked, it seems illogical that they cannot
edit, but they can delete, undelete, protect, unproptect, view deleted
material, and so on. 

Admin tools are more sensitive and require more trust than editing tools. A
sysop account that is blocked, should lose the tool access until the matter is
resolved, subject to keeping IP Block Exemption (needed to post appeals or
responses) and block/unblock ability (for test purposes when an admin
self-blocks or their IP is accidentally blocked)

Misuse of the block/unblock tool will be noticed by the community and met by the further step of removing that account's sysop access if needed, hence not an
issue. It is easier to allow block/unblock on that basis than to figure what
unblocks they may need to do on various MW installations, to remedy a problem.
Comment 7 FT2 2010-02-10 18:14:28 UTC
Noting also from bug 21882 that "per permission" blocking is not what's needed.  There are very many permissions a user can have. This issue is one item and should ideally be automatic (shouldn't need any checkbox).
Comment 8 Happy-melon 2010-03-26 22:05:44 UTC
Access to block/unblock fixed in r64228: blocked admins cannot block or unblock other users, nor unblock themselves unless they have the 'unblockself' right.
Comment 9 charitwo 2010-04-21 22:55:50 UTC
It seems that blocked users with the appropriate rights can still import pages via XML.
Comment 10 Happy-melon 2011-03-30 14:08:43 UTC
Fixed in r85005.
Comment 11 Rd232 2011-07-23 21:00:11 UTC
As far as I can tell blocked administrators still have access to some administrative rights, in particular "browserarchive", "deletedhistory", and "deletedtext". These should also be suspended when blocked. Indeed, with the sole exception of self-unblocking (because of mistakes and "rogue admin" scenarios in small wikis), I would have thought that blocked users should only have access to whatever user rights are associated with the "all editors" group. 

At any rate, on Wikimedia wikis, having blocked administrators - potentially compromised accounts whose status is not yet clear enough to desysop - able to access deleted material, even for a few hours or days, seems BAD, given the WMF emphasis on these rights being sensitive.
Comment 12 Happy-melon 2011-07-26 20:57:53 UTC
This should be fixed in r93206.  Feel free to reopen if you find any more permissions that admins shouldn't have while blocked.
Comment 13 Max Semenik 2011-10-07 13:59:51 UTC
Reverted in r93246.
Comment 14 Max Semenik 2011-10-07 14:03:31 UTC
Grr, r99211.
Comment 15 Happy-melon 2011-10-07 14:05:42 UTC
For reference, I like the implementation idea for this I brainstormed in r93246 CR (basically making "isblocked" an implicit group which we can then use with $wgRevokePermissions).

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


Navigation
Links