webgateway, listProjects_json and switch user
Posted: Wed Aug 24, 2016 3:40 pm
hi There,
I use the web getaway to communicate with our local omero installation.
in our local installation i am a member of the heierlab group, which is owned by the heiserlab user.
I have no own project, but I would like to do analysis of heierlab group projets.
unfortunately, when I utilize a method like:
https://my_host/webgateway/proj/list/
I get a empty JSON list [] back.
the reason I guess is, that I somehow should switch to user heierlab to be able to get the project listed.
i think this is the reasen, because in the listProjects_json documentation
(https://downloads.openmicroscopy.org/om ... teway.urls)
is written: json method, returning list of all projects available to current user.
I tried to use omeroweb.webgateway.urls.webgateway_su (https://my_host/webgateway/su/hesierlab/) to switch to the heiserlab user.
with out success. I guess this is because I am not an admin but just a member of the heierlab group.
is there a webgateway way to get this working?
any hint is appreciated.
thank you,
Elmar
I use the web getaway to communicate with our local omero installation.
in our local installation i am a member of the heierlab group, which is owned by the heiserlab user.
I have no own project, but I would like to do analysis of heierlab group projets.
unfortunately, when I utilize a method like:
https://my_host/webgateway/proj/list/
I get a empty JSON list [] back.
the reason I guess is, that I somehow should switch to user heierlab to be able to get the project listed.
i think this is the reasen, because in the listProjects_json documentation
(https://downloads.openmicroscopy.org/om ... teway.urls)
is written: json method, returning list of all projects available to current user.
I tried to use omeroweb.webgateway.urls.webgateway_su (https://my_host/webgateway/su/hesierlab/) to switch to the heiserlab user.
with out success. I guess this is because I am not an admin but just a member of the heierlab group.
is there a webgateway way to get this working?
any hint is appreciated.
thank you,
Elmar