Last modified: 2006-06-05 15:42:52 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 T8208, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 6208 - Upload is always forbidden for anonymous users, even if the settings allow it
Upload is always forbidden for anonymous users, even if the settings allow it
Status: RESOLVED DUPLICATE of bug 5970
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://mail.wikipedia.org/pipermail/m...
: patch
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-05 15:37 UTC by Rotem Liss
Modified: 2006-06-05 15:42 UTC (History)
0 users

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


Attachments
Patch (trunk) (638 bytes, patch)
2006-06-05 15:39 UTC, Rotem Liss
Details
Patch (REL1_6) (638 bytes, patch)
2006-06-05 15:39 UTC, Rotem Liss
Details

Description Rotem Liss 2006-06-05 15:37:49 UTC
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.
Comment 1 Rotem Liss 2006-06-05 15:39:02 UTC
Created attachment 1903 [details]
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.
Comment 2 Rotem Liss 2006-06-05 15:39:22 UTC
Created attachment 1904 [details]
Patch (REL1_6)

The same.
Comment 3 Rotem Liss 2006-06-05 15:42:52 UTC
Will move the fixes to the correct bug.

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

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


Navigation
Links