Task #8435 (closed)
isOwner() -> canEdit()
Reported by: | wmoore | Owned by: | wmoore |
---|---|---|---|
Priority: | major | Milestone: | OMERO-4.4 |
Component: | Web | Version: | n.a. |
Keywords: | n.a. | Cc: | atarkowska |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | 2012-05-08 (14) |
Description
Where appropriate, use an object's canEdit() method to determine whether it is editable instead of current isOwned().
See #8387 for several examples of where to edit.
Change History (12)
comment:1 Changed 12 years ago by jburel
- Sprint changed from 2012-04-10 (12) to 2012-04-24 (13)
comment:2 Changed 12 years ago by wmoore
- Status changed from new to accepted
comment:3 Changed 12 years ago by jburel
- Sprint changed from 2012-04-24 (13) to 2012-05-08 (14)
Moved from sprint 2012-04-24 (13)
comment:4 Changed 12 years ago by wmoore
- Owner wmoore deleted
- Status changed from accepted to new
comment:5 Changed 12 years ago by wmoore
- Owner set to wmoore
comment:6 Changed 12 years ago by wmoore
- Owner wmoore deleted
comment:7 Changed 12 years ago by wmoore
- Owner set to wmoore
Use canEdit() to enable editing of name and description in metadata_general.html https://github.com/will-moore/openmicroscopy/commit/38b36793858bbba914275b7f379d9a570d0e2e75
comment:8 Changed 12 years ago by wmoore
- Status changed from new to accepted
comment:9 Changed 12 years ago by wmoore
- Resolution set to fixed
- Status changed from accepted to closed
comment:10 Changed 12 years ago by Will Moore <will@…>
(In [0f9fb462c47585670c80aa0290df0ec6e44d0e28/ome.git] on branch develop) Replacing isOwned with canEdit in tree templates. See #8435
comment:11 Changed 12 years ago by Will Moore <will@…>
(In [fa2a8790c0a9ee50f71070770f9de1b721f37247/ome.git] on branch develop) Replace isEditable() with canAnnotate() in metadata_general.html. See #8435
comment:12 Changed 12 years ago by Will Moore <will@…>
(In [38b36793858bbba914275b7f379d9a570d0e2e75/ome.git] on branch develop) Added manager.canEdit() method, enables edit of name & description. See #8435
Moved from sprint 2012-04-10 (12)