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

Aleksandra Tarkowska (Staff) A.Tarkowska at dundee.ac.uk
Mon Aug 17 22:15:58 BST 2015


Hi Jake,

You can turn on index page

Either try default

bin/omero config set omero.web.index_template 'webstart/index.html'

Or as in the doc https://www.openmicroscopy.org/site/support/omero5.1/sysadmins/customization.html#index-page create your own

Make sure your web browser doesn't cache old redirection.

I hope that helps.

Kind regards
Ola

On 17 Aug 2015, at 22:06, Jake Carroll <jake.carroll at uq.edu.au<mailto:jake.carroll at uq.edu.au>> wrote:

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
_______________________________________________
ome-users mailing list
ome-users at lists.openmicroscopy.org.uk<mailto:ome-users at lists.openmicroscopy.org.uk>
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users

The University of Dundee is a registered Scottish Charity, No: SC015096
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openmicroscopy.org.uk/pipermail/ome-users/attachments/20150817/445a4b58/attachment.html>


More information about the ome-users mailing list