We're Hiring!

Annotate other people's data

General user discussion about using the OMERO platform to its fullest. Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

There are workflow guides for various OMERO functions on our help site - http://help.openmicroscopy.org

You should find answers to any basic questions about using the clients there.

Annotate other people's data

Postby sukunis » Thu Nov 01, 2018 9:41 am

Hallo,

i have the following problem:
one of my users is owner of a private group and want to annotate data of other people in this group. I know that is not permitted since 5.3.2.
But is there another way to add annotations to data in private groups by a owner or admin or do we have to move the data?

Regards
Susanne
sukunis
 
Posts: 16
Joined: Fri Sep 18, 2015 8:12 am

Re: Annotate other people's data

Postby mtbc » Fri Nov 02, 2018 11:36 am

Dear Susanne,

The annotations have to be added as if they were by the data owner. There are a few ways I might try this:
  • OMERO.cli's "login" offers a --sudo option that an administrator can use to create an OMERO session as if they were another user. Rather than username/password, one could then use that same new session ID to log in to a graphical client as that data owner.
  • A Java or Python script can use the same approach that the --sudo option's implementation uses. It is probably how Insight does "import as". Our restricted administrator integration tests in Java extensively attempt such sudo'ing to assure that it does not afford a means to circumvent the privilege restrictions.
  • When using the update service to save new objects as an administrator (e.g., an annotation link and its new annotation child), set the objects' details.owner property to the desired data owner before saving.
If any of the above sound appealing and you need help with the details of making them work then please do feel free to ask, we are happy to dig up related code or help with scripting, depending on what fits best with your work. There may also be some other viable approach.

Cheers,
Mark
User avatar
mtbc
Team Member
 
Posts: 282
Joined: Tue Oct 23, 2012 10:59 am
Location: Dundee, Scotland


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 1 guest