redirect after login to specific "user" for public repo
Posted: Tue Jun 27, 2017 11:52 pm
Hi all,
I have a public OMERO installation on: https://www.lincsclarion.org and have imported all the data into the public group as a different user. So when "public" auto logs in, he/she doesn't see any data but needs to navigate to the "MEP LINCS" user to see all the data: https://www.lincsclarion.org/webclient/ ... imenter=52
It appears that the "omero.web.login_redirect" property allows me to change it so anyone coming in will be re-directed to something but i'm afraid I cannot understand what arguments I should use to make that happen. Hopefully a quick hint will help me on my way.
Second I want to make sure this instance is somewhat secured. I applied the line:
and it looks like I should also somehow disable the scripts as well. Is that best done with "omero.client.scripts_to_ignore" or by entirely removing the scripts from scripts directory? Note that this server is dedicated to be a public server.
Thanks,
- Damir
I have a public OMERO installation on: https://www.lincsclarion.org and have imported all the data into the public group as a different user. So when "public" auto logs in, he/she doesn't see any data but needs to navigate to the "MEP LINCS" user to see all the data: https://www.lincsclarion.org/webclient/ ... imenter=52
It appears that the "omero.web.login_redirect" property allows me to change it so anyone coming in will be re-directed to something but i'm afraid I cannot understand what arguments I should use to make that happen. Hopefully a quick hint will help me on my way.
Second I want to make sure this instance is somewhat secured. I applied the line:
- Code: Select all
$ bin/omero config set omero.web.public.url_filter '^/(webadmin/myphoto/|webclient/(?!(action|logout|annotate_(file|tags|comment|rating|map)|script_ui|ome_tiff|figure_script))|webgateway/(?!(archived_files|download_as)))'
and it looks like I should also somehow disable the scripts as well. Is that best done with "omero.client.scripts_to_ignore" or by entirely removing the scripts from scripts directory? Note that this server is dedicated to be a public server.
Thanks,
- Damir