Task #8387 (new)
Opened 12 years ago
Last modified 12 years ago
Review webclient use of isEditable etc — at Version 2
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 for P/D/I and Tags.
- 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
- Basket items & table center panel indicate if not isOwned
- Image viewer - if isOwned include resetDefaults()
- Several places the name of the Owner is displayed if NOT owned. E.g. metadata_general,
- Links to Tags also add ?experimenter=eid if not Owned
canDelete
- ann.canDelete to remove Comments...
Change History (2)
comment:1 Changed 12 years ago by wmoore
- Description modified (diff)
comment:2 Changed 12 years ago by wmoore
- Description modified (diff)
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.