Blocked users can stash files. This is not a big problem (since they can do nothing else with them), but still seems unintended.
Description
Details
Related Objects
- Mentioned In
- T111174: Special:UploadWizard needs to notify globally blocked users at the beginning of the process, and provide a standard block message
- Mentioned Here
- T111174: Special:UploadWizard needs to notify globally blocked users at the beginning of the process, and provide a standard block message
Event Timeline
@matmarex, could you elaborate on how to reproduce this ?
I tried this on a local installation of mediawiki, where I created a user and blocked it.
Now when I login as that user, and go to the Special:Upload page, it says I was blocked.
When I login as that user, and go to the Special:UploadWizard page, it again says I was blocked.
@TasneemLo, you can only stash the file, you can't "publish" it on the wiki.
Special:Upload generally doesn't use stash (I think it does if the file is uploaded, but there are errors to be corrected in the description?), but it should be possible to reproduce with UploadWizard:
- As user A, who is not blocked, visit Special:UploadWizard. Don't do anything else yet.
- In a private browser tab, log in as user B and block user A.
- As user A, continue by uploading a file and going through the whole form. You will only get an error message at the final step (when trying to publish the file), not at the first step (when it is uploaded).
(And yes, you could previously run into this when globally blocked, because UploadWizard was not checking for global blocks before displaying the form. This is now fixed and you have to be blocked while working through the form to run into this in practice.)
Change 286161 had a related patch set uploaded (by Matthias Mullie):
Check if user is blocked during upload process
Change 286413 had a related patch set uploaded (by Matthias Mullie):
Add i18n keys for blocked messages