role based permission in cross functional team
I have a cross functional Team, the developer is also tester and sometimes verifier. When an CR is created everyone can change the status of IR/CR. How do I restrict permissions. Suppose, the CR is in verification state and I want the verifier as the only person to modify the CR in verification state and allow transition to the next state, how do I do that?
3 answers
I assume that the CR work item type has separate Contributor attributes for Owner vs Verifier. If so, then assuming that everyone in the cross-functional team has both "owner" and "verifier" roles (so that they have the proper permissions to do things when they are performing the duties of both at any time), then I believe this would have to be done via a java custom Validator. For the CR work item that is in Verification state, you would check the person making the change (current user) against the Contributor in the 'verifier' attribute and if they are not the same (and it isn't a comment being added), then you could give an error (or perhaps just certain attributes that you only want the Verifier to be able to change). You would want to check if the prior state is Verification and it is transitioning into the next state, that the current user is the Verifier and if not, throw an error.