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"

User Story #266 (closed)

Opened 18 years ago

Closed 14 years ago

Provide filter for queries (IPojos, IQuery,...) so that only writable objects are returned.

Reported by: jamoore Owned by: jamoore
Priority: minor Milestone: OMERO-Beta4.2
Component: Queries Keywords: n.a.
Cc: jburel Story Points: n.a.
Sprint: n.a. Importance: n.a.
Total Remaining Time: n.a. Estimated Remaining Time: n.a.

Description

Currently the IPojos interface allows an option argument (type java.util.Map though will probably change ) which takes an experimenter id to allow filtering return values based on who the object belong to. It might also be beneficial to have a flag to only return images writable by a given experimenter.

Change History (3)

comment:1 Changed 18 years ago by jmoore

  • Cc jburel added
  • Milestone changed from 3.0-M3 to Future

Waiting for a use case.

comment:2 Changed 18 years ago by jmoore

  • Milestone changed from Future to GatherReqs

comment:3 Changed 14 years ago by jmoore

  • Milestone changed from GatherReqs to OMERO-Beta4.2
  • Resolution set to fixed
  • Status changed from new to closed

With the group-based permissions in 4.2.0 this is no longer necessary. Note: to determine if an object is writeable it is only necessary to check:

  1. if the object is in the current group;
  2. if yes, then check the permissions for the current group
  3. if no, then the object is in the shared space (group "user") and it will only be writeable if owned by the current 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.67173 sec.)

We're Hiring!