[ome-users] A bit of django help - need to change login page behaviour, slightly

Jake Carroll jake.carroll at uq.edu.au
Mon Aug 17 22:06:16 BST 2015


Hi ome-crew.

I’m just working on a usability tweak this morning for my users.

As it stands, if users hit my URL for my OMERO server, such that:

https://blah.blah.blah.blah

The default URL that then auto-responds/kicks to is:

https://blah.blah.blah.blah/webclient

Which displays public OMERO datasets.

Which is fine, as we actually use PUBLIC data repositories on this OMERO instance for publishing and meta-data linking/open data repositories purposes.

Unfortunately, this has started to confuse some users and is proving problematic usability wise. Ergo, we’ve got some of our users who aren’t that great at reading instructions simply uploading data to the public section of OMERO rather than logging in and uploading as themselves into the private part of OMERO.

To this end, we need a mechanism such that, when a person navigates to:

https://blah.blah.blah.blah

They aren’t kicked to the public page, but they are kicked to the LOGIN page for authenticated access.

Ergo, it would be better if the first thing users see is:

https://blah.blah.blah.blah/webclient/login/?url=%2Fwebclient%2F

Such that they are forced to login unless they explicitly want to go to a public URL to view PUBLIC data. (Which viewers-only/journal editors/international collaborators might!).

Public data and public URL’s need to exist and stay as is – and users need the ability to continue to push/move their data into the public area of OMERO such that we can continue publishing on our open repositories basis (and journals might use direct URL’s for citations and references!) but we want to simply have the users authenticate to their own private section of OMERO first by default, rather than being presented with the public interface first.

Currently our configuration strings look like this from a general omero config get:


omero.web.public.url_filter=^/(?!webadmin|webclient/logout/|webclient/action/\w+|webclient/annotate_(file|tags|comment))

omero.web.public.user=qbiomeropublic

This is about the third iteration of us fiddling around to get the usability of this “right” ;).

Thanks all.

-jc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20150817/020b5864/attachment.html>


More information about the ome-users mailing list