Restrict the custom action based on the logged in user in RTC?
Hi,
Using RTC 6.0.2 version.
I have one custom action "Rejected" and a attribute named Assigned To type "Contributor".
Can we restrict the action based on logged in user in RTC?
or
How to Restrict a RTC action based on an Attribute value (Type: Contributor)?
For eg.
Action is Rejected
Attribute : Assigned To (Contributor) values is not blank
If logged in user is equal to Assigned To (Contributor) then the user should able to perform the "Rejected" action else that action should be either hide or restrict for that particular user.
Please do the needful to me.
Thanks
Raj
3 answers
I'm having trouble to understand your question. Please see
If I understood what you mean, you'll need to create a server-side precondition.
Start here:
Comments
Okey.
Simple question can we restrict the action based on logged in user in RTC?
or
How to Restrict a RTC action based on an Attribute value (Type: Contributor)?
Permissions and operational behavior works based on roles. The roles the logged in user has. There is no built in relationship to arbitrary work item attributes such as "work item owner.".
See Process permissions lookup in Rational Team Concert 2.0 and
for the very basics how RTC works in this area.
See as an example along the line of Miguels proposal:
Only Owner Can Close WorkItem Advisor
Simple question can we restrict the action based on logged in user in RTC?
Using a server-side script, Yes.
How to Restrict a RTC action based on an Attribute value (Type: Contributor)?
Using a server-side script.