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
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:
- if the object is in the current group;
- if yes, then check the permissions for the current group
- if no, then the object is in the shared space (group "user") and it will only be writeable if owned by the current user.
Waiting for a use case.