<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body 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>
</body>
</html>