Task #8387 (new)
Opened 12 years ago
Last modified 12 years ago
Review webclient use of isEditable etc — at Version 1
Reported by: | wmoore | Owned by: | wmoore |
---|---|---|---|
Priority: | major | Milestone: | OMERO-4.4 |
Component: | Web | Version: | n.a. |
Keywords: | n.a. | Cc: | atarkowska, cxallan, jamoore, jburel |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.5d |
Sprint: | 2012-03-27 (11) |
Description (last modified by wmoore)
Trying to assess the impact of permissions changes to judge if we have time to support these in the clients for 4.4 release.
All objects will have canEdit() and canAnnotate() (need to have Permissions loaded) see #8277. canEdit() includes Delete, renaming objects, linking P/D/I etc.
Document places in web where
- current functionality would switch to using these methods
- new checks made to allow more / fewer actions
isEditable
- metadata_general.html - Add tag, file, comment
- image viewer - reset & save rendering settings
isOwned
- Tree right-click actions (drag, delete etc) are set via isOwned in template "-locked"
- Same flag is used to set disabled state of toolbar buttons
- metadata_general.html - Edit name, description
- link.isOwned used to allow removal of Tags, Files,
canDelete
- ann.canDelete to remove Comments...
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.