Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes



3 answers

Permanent link
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:

0 votes

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


Permanent link

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.

0 votes

Comments

Apologies. I responded too quickly.

Like Ralph said, actions can be restricted OOTB using Roles and Permissions.


Permanent link

For more information on permissions and roles, see Adding and modifying roles and permissions.


Ken 

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,121
× 1,381

Question asked: Jan 12 '17, 6:48 a.m.

Question was seen: 2,959 times

Last updated: Jan 20 '17, 3:29 p.m.

Confirmation Cancel Confirm