Page MenuHomePhabricator

Hide Upload link when not logged in
Closed, DeclinedPublic


Author: gangleri


If users are *NOT*" logged in "Upload file" is available in "Special pages"
already. As "Upload file" is disabled as long as users are not logged in, it
makes no sense to show this option / tool.

Regards Reinhardt [[user:gangleri]]

Version: 1.6.x
Severity: trivial



Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 8:50 PM
bzimport set Reference to bz3556.
bzimport added a subscriber: Unknown Object (MLST).

avarab wrote:

Magnus turned it back on, he claimed that it didn't make sense UI-wise to hide
certain aspects of the interface to un-logged in users.

It was hidden in the first place because we get a huge amount of random folks
coming across our sites and uploading crap.

robchur wrote:

Would support hiding it again, if anons aren't able to makes more
sense *not* to hide disabled features to those users. Non-sysops don't see
delete buttons, for instance.

Should be hidden to users which dont have the right to perform
the action.

Rob: This is different from the delete function, as an anonymous user who clicks
"Upload" will see a message asking them to log in. This is easily done. Becoming
an admin to delete something is not quite that easy. ;-) I think having the link
visible makes sense; people who edit anonymously all the time might otherwise
start looking in all kinds of odd places for the ability to upload. When the
link is there, they will understand immediately what they need to do.

gangleri wrote:

Agree also. This request should be marked as WONTFIX.

  • Bug 6021 has been marked as a duplicate of this bug. ***

robchur wrote:

*** Bug 6613 has been marked as a duplicate of this bug. ***

achuggard wrote: is an extension I
developed for the lab's wiki to hide the Upload link when the user does not have
the "upload" permission. It also hides the discussion tab by to anonymous users
as well (something my Advisor asked for), but it's a simple enough extension
that the anonymous tab hiding is easily enough removed.

Hope this helps anyone looking for this functionality in the future.