Last modified: 2011-01-25 00:44:19 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 T21519, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 19519 - Special:UserRights not allowing Flood flag if user in not capitalised
Special:UserRights not allowing Flood flag if user in not capitalised
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Special pages (Other open bugs)
unspecified
All All
: Normal trivial with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://simple.wikipedia.org/wiki/Spec...
: easy
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-07-04 21:18 UTC by Jack (tholly)
Modified: 2011-01-25 00:44 UTC (History)
6 users (show)

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


Attachments

Description Jack (tholly) 2009-07-04 21:18:39 UTC
I'm an admin on simplewiki and I can only give myself the floog flag at http://simple.wikipedia.org/w/index.php?title=Special:UserRights&user=Tholly, not at http://simple.wikipedia.org/w/index.php?title=Special:UserRights&user=tholly.

Other flags work without the capitals.

I don't know whether this is a problem with other projects.
Comment 1 Jon 2009-07-04 21:30:25 UTC
I can reproduce... I can only give myself the flag, no one else.
Comment 2 Rob 2009-07-04 22:59:49 UTC
(In reply to comment #1)
> I can reproduce... I can only give myself the flag, no one else.
> 

That is actually on purpose, admins are only allowed to give themselves the flag for security reasons.
Comment 3 Jon 2009-07-04 23:13:44 UTC
I think that may be a regression however... since by virtue of administrators... they are trusted and technically permitted to override security features of the software.  
Comment 4 Jack (tholly) 2009-07-06 07:09:47 UTC
The problem is not that I can not give that flag to other people - admins do not have permission to do that.

The problem is that I can only give the flag to myself if I type my username with a capital "T". I can give myself rollback or IP block exemption with "tholly", but flood flag only with "Tholly".
Comment 5 Brion Vibber 2009-07-19 19:38:23 UTC
Looks like there's a check for self-ness that's done before validation of the input name, so you get a false negative on non-exact matches that normalize to the right name later. In this case it's relatively harmless as you just can't do everything you thought you could, rather than granting any extra abilities.
Comment 6 Mike.lifeguard 2009-07-19 19:43:46 UTC
Why would it affect one user group but not another?
Comment 7 Mike.lifeguard 2009-07-19 19:44:18 UTC
Also note bug 17864, which is another issue with Special:Userrights input validation.
Comment 8 Alex Z. 2009-08-05 04:43:30 UTC
Fixed in r54429
Comment 9 Brion Vibber 2009-09-29 17:31:15 UTC
Regressions with remote users fixed in r57064

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


Navigation
Links