It's all about the answers!

Ask a question

Only owner can modify the work item using CLM 5.0.2


Nada Loutfallah (117) | asked Sep 01 '15, 6:38 a.m.
edited Sep 01 '15, 6:57 a.m. by Ralph Schoon (56.8k23642)
Hi,

How to set a work item can be modified by the owner only? So the other member only can read. 

Thanks

One answer



permanent link
Ralph Schoon (56.8k23642) | answered Sep 01 '15, 6:56 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
As far as I can tell, this can only be achieved by an advisor. Here is an example: https://rsjazz.wordpress.com/2014/05/26/only-owner-can-close-workitem-advisor/

Comments
Nada Loutfallah commented Sep 03 '15, 5:43 a.m.

 Hi Ralph,


I need to restrict modification to a work item only by the owner or a team leader role

Thanks


Ralph Schoon commented Sep 03 '15, 8:59 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

There are plenty of examples how to get the role of a user. Consider searching the blog.


Ralph Schoon commented Sep 03 '15, 9:01 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

Another possible approach would be using a condition and make the attributes read only by it. See https://rsjazz.wordpress.com/2015/06/19/a-custom-condition-to-make-attributes-required-or-read-only-by-role/

Your answer


Register or to post your answer.