How to prevent one specific user to edit a WI
![](http://jazz.net/_images/myphoto/938d8447b3f86d46667076fb6ad4bd1f.jpg)
2 answers
![](http://jazz.net/_images/myphoto/938d8447b3f86d46667076fb6ad4bd1f.jpg)
couple of options
1. how about a role specific to that workitem type.. which disables all edits on that workitemtype and assign that role to the users who need to be controlled access to that workitem.
2. Create a Script to verify the user
Project Configuration > Configuration Data > Work Items > Attribute Customization > Conditions > Script Based Condition
Then set the Operation Behavior on Work Item Save to enforce Read Only
Team Configuration > Operation Behavior > Read-Only Attributes For Condition
"Verifies that a work item that matches a condition can only be saved if the selected attributes are unchanged"
the first option will work..i haven't tested the second option though... just thought of sharing the idea... hope it helps.
1. how about a role specific to that workitem type.. which disables all edits on that workitemtype and assign that role to the users who need to be controlled access to that workitem.
2. Create a Script to verify the user
Project Configuration > Configuration Data > Work Items > Attribute Customization > Conditions > Script Based Condition
Then set the Operation Behavior on Work Item Save to enforce Read Only
Team Configuration > Operation Behavior > Read-Only Attributes For Condition
"Verifies that a work item that matches a condition can only be saved if the selected attributes are unchanged"
the first option will work..i haven't tested the second option though... just thought of sharing the idea... hope it helps.