<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>
<div>Hi Jake</div>
<div><br>
</div>
<div>All works fine, you just need one more filter <span style="background-color: rgb(241, 241, 241); letter-spacing: 0.015em; line-height: 16.7999992370605px; ">webclient/logout/</span></div>
<div><br>
</div>
<div><br>
</div>
<div>bin/omero config set omero.web.public.url_filter '^/(?!webadmin|webclient/logout/|webclient/action/\w+|webclient/annotate_(file|tags|comment))'</div>
<div><br>
</div>
<div>When user go to <a href="https://foo.bar.blah.fred/webclient/" class="">https://foo.bar.blah.fred/webclient/</a> will see public data. When click logout will be redirected to login page. Then can see its own data. When log out will be redirected back to
the public page.</div>
<div><br>
</div>
<div>Thanks for pointing it out. Certainly it needs to go to the doc</div>
<div><br>
</div>
<div>
<div>
<div>Kind regards</div>
<div>Ola</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Jake Carroll <<a href="mailto:jake.carroll@uq.edu.au">jake.carroll@uq.edu.au</a>><br>
<span style="font-weight:bold">Date: </span>Thu, 27 Nov 2014 19:17:46 +0000<br>
<span style="font-weight:bold">To: </span>"<a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a>" <<a href="mailto:ome-users@lists.openmicroscopy.org.uk">ome-users@lists.openmicroscopy.org.uk</a>><br>
<span style="font-weight:bold">Subject: </span>[ome-users] OME login behaviour after enabling public data<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
Hi all,
<div class=""><br class="">
</div>
<div class="">After enabling a public data sharing mechanism like so:</div>
<div class=""><br class="">
</div>
<div class="">
<pre style="overflow-x: auto; overflow-y: hidden; font-family: Consolas, 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 14px; letter-spacing: 0.015em; line-height: 16.7999992370605px; padding: 0.5em; border: 1px solid rgb(204, 204, 204); max-width: 60em; background-color: rgb(241, 241, 241);" class="">bin/omero config set omero.web.public.url_filter '^/(?!webadmin|webclient/action/\w+|webclient/annotate_(file|tags|comment))'</pre>
<div class="">By default, our old OMERO URL:</div>
</div>
<div class=""><br class="">
</div>
<div class=""><a href="https://foo.bar.blah.fred/webclient/" class="">https://foo.bar.blah.fred/webclient/</a></div>
<div class=""><br class="">
</div>
<div class="">Is simply the public data view of the web client. No login page, just the web view.</div>
<div class=""><br class="">
</div>
<div class="">Unfortunately, from a usability perspective, something goes a bit “wrong” here. If I then go to the top right hand corner and click “logout” (assuming I’ll then be bounced to a login pane), I end up back at the same URL with no user-feedback.</div>
<div class=""><br class="">
</div>
<div class="">Ideally, if I am sitting at the public data page, pressing logout will kick my browser to:</div>
<div class=""><br class="">
</div>
<div class=""><cite style="font-family: Consolas, 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 0.95em; letter-spacing: 0.01em; line-height: 24px; background-color: rgb(255, 255, 255);" class=""><a href="http://your_host/webclient/login/" class="">http://your_host/webclient/login/</a></cite><span style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; font-size: 14px; letter-spacing: -0.159999996423721px; line-height: 24px; background-color: rgb(255, 255, 255); " class="">.</span></div>
<div class=""><span style="font-family: 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif; font-size: 14px; letter-spacing: -0.159999996423721px; line-height: 24px; background-color: rgb(255, 255, 255); " class=""><br class="">
</span></div>
<div class="">
<div class="">I’ve been rifling through django but can’t find a way to do this, yet. This is really about usability and making it clean/sane for users.</div>
</div>
<div class=""><br class="">
</div>
<div class="">Possibly another thought. Have two URL’s:</div>
<div class=""><br class="">
</div>
<div class=""><span style="font-family: Consolas, 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 11px; font-style: italic; letter-spacing: 0.11399999260902405px; line-height: 24px; background-color: rgb(255, 255, 255); " class=""><a href="http://your_host/webclient/public/" class="">http://your_host/webclient/public/</a></span></div>
<div class=""><span style="font-family: Consolas, 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 11px; font-style: italic; letter-spacing: 0.11399999260902405px; line-height: 24px; background-color: rgb(255, 255, 255); " class=""><a href="http://your_host/webclient/private/" class="">http://your_host/webclient/private/</a></span></div>
<div class=""><span style="font-family: Consolas, 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace; font-size: 11px; font-style: italic; letter-spacing: 0.11399999260902405px; line-height: 24px; background-color: rgb(255, 255, 255); " class=""><br class="">
</span></div>
<div class="">
<div class="">With the “logout” button always dumping you to the /private/ version. Of course, I do appreciate that the “logout” button returns to the same public facing page currently because it IS logged out. Just a question of how intuitive that is for users,
really!</div>
</div>
<div class=""><br class="">
</div>
<div class="">Thoughts or suggestions to implement what I’ve suggested above are appreciated, as always.</div>
<div class=""><br class="">
</div>
<div class="">Regards,</div>
<div class=""><br class="">
</div>
<div class="">-jc</div>
</div>
</div>
_______________________________________________ ome-users mailing list <a href="mailto:ome-users@lists.openmicroscopy.org.uk">
ome-users@lists.openmicroscopy.org.uk</a> <a href="http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users">
http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-users</a> </span><br>
<span style="font-size:10pt;">The University of Dundee is a registered Scottish Charity, No: SC015096</span>
</body>
</html>