Task #8277 (new)
Opened 12 years ago
Last modified 12 years ago
Adjust all permissions per user on read — at Initial Version
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | critical | Milestone: | OMERO-4.4 |
Component: | General | Version: | n.a. |
Keywords: | n.a. | Cc: | jburel, wmoore |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 1.0d |
Sprint: | 2012-03-27 (11) |
Description
Permission objects which are returned along with data graphs should be adjusted in order to reflect the capabilities of the current security context. For this implementation, the permission values on the actual rows will be ignored, which is inline with the overall story (#2874).
This work includes:
- Add methods canLink and canEdit
- Add the call context map to the permissions object
- Make the default object factory for permissions return a non-editable version
- Perform the adjustment before returning any objects. Unloaded objects will not have permission objects, and therefore will need to be reloaded by the user.
See: https://www.openmicroscopy.org/site/community/minutes/minigroup/2012.03.12-groupperms