need to restrict ACTION per USER based on CURRENT STATE?
I would like to SELECTIVELY allow the user to perform an action against certain states only
Right now a Tester(user role) is given permission to resolve RESOLVE. But I don't find anywhere an option to allow him to RESOLVE from certain states only.
Resolve action is availbale for NEW, IN-PROGRESS, TRIAGED and UNCONFIRMED records. I want the tester to RESOLVE only the UNCONFIRMED records and not others.
I dont see any functionality allowing me to do this
Right now a Tester(user role) is given permission to resolve RESOLVE. But I don't find anywhere an option to allow him to RESOLVE from certain states only.
Resolve action is availbale for NEW, IN-PROGRESS, TRIAGED and UNCONFIRMED records. I want the tester to RESOLVE only the UNCONFIRMED records and not others.
I dont see any functionality allowing me to do this
Accepted answer
It is possible to set permissions for individual actions in a workflow. See Team Configuration > Permissions > Work Items > Save Work Item > Trigger a workflow action. If you want to allow a certain role to resolve a work item from the Unconfirmed state but not from any other state, then change the workflow to define separate actions for Unconfirmed -> Resolved and [any other state] -> Resolved, and set the permissions as desired.
Permissions for individual actions might not have been available in 2009 when this question was asked, but they are available in RTC 4.0. I don't know which version of RTC was the first to have them.