Page MenuHomePhabricator

Upload is always forbidden for anonymous users, even if the settings allow it
Closed, ResolvedPublic

Description

Author: rotemliss

Description:
Even if you write:
$wgGroupPermissions["*"]["upload"] = true;
in LocalSettings.php, the uploads are forbidden for anonymous users. It is
caused by a wrong writing of the code. I will upload a patch fixes it soon.

Please note that this fix should be also backported, as the bug is very
important for several wikis, and the fix is small.


Version: unspecified
Severity: normal
URL: http://mail.wikipedia.org/pipermail/mediawiki-l/2006-June/012616.html

Details

Reference
bz6208

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 9:16 PM
bzimport set Reference to bz6208.
bzimport added a subscriber: Unknown Object (MLST).

rotemliss wrote:

Patch (trunk)

This patch rewrites this piece of code, so that all the messages will be shown
only if the upload is forbidden; if the user is anonymous, a message tells him
to log in – and if not, a message tells him he should have a permission.

Attached:

rotemliss wrote:

Patch (REL1_6)

The same.

Attached:

rotemliss wrote:

Will move the fixes to the correct bug.

*** This bug has been marked as a duplicate of 5970 ***