Warning: Can't synchronize with repository "(default)" (/home/git/ome.git does not appear to be a Git repository.). Look in the Trac log for more information.
Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #8097 (closed)

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

Implement {omero.user:<uid>} for admin

Reported by: jamoore Owned by:
Priority: minor Milestone: OMERO-4.4
Component: Security Version: n.a.
Keywords: n.a. Cc: omero-team@…
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: n.a.
Sprint: 2012-03-13 (10)

Description

Similarly to the work on omero.group (#3529), it should be possible for administrators to act as another user (i.e. "sudo") without having to create another session.

  update.saveObject(newTag, {"omero.user":"5"})

should save the tag as the user.

This may have limited utility since it will likely also be necessary to set omero.group to a group that the user is a member of, etc.

In the end, creating a proper session for the user may be cleaner, but there will likely be some activities for which this is still useful.

Change History (3)

comment:1 Changed 12 years ago by jmoore

Referencing ticket #3527 has changed sprint.

comment:2 Changed 12 years ago by jmoore

  • Resolution set to fixed
  • Sprint set to 2012-03-13 (10)
  • Status changed from new to closed

Pushing to my 3529-callcontext branch and closing.

comment:3 Changed 12 years ago by jmoore <josh@…>

(In [53db946c6b1b157b3956d82b0c2c08703728223c/ome.git] on branch develop) Initial work on sudo via omero.user (See #8097)

This commit allows admin users to pass omero.user in order
to set the current user id. For most uses, it's currently
also necessary to properly set an omero.group value for the
given user.

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.66031 sec.)

We're Hiring!