I’m customizing some TFS2010 process template and I need to restrict some fields so everyone excepting administrators will be having them “read-only”.
Problem is I’m using “readonly” rule and this is setting “read-only” for all, even if “not for [Global]\Project Collection Administrators” is specified.
My domain user is within [Global]\Project Collection Administrators, I added myself from Administration Console or from VS2010 GUI, and no luck.
I’m using TFS2010 Power Tools, but this is the generated XML:
<FieldDefinition reportable="dimension" refname="System.Title" name="Title" type="String">
<READONLY for="[Global]\Project Collection Valid Users" not="[Global]\Project Collection Administrators" />
</FieldDefinition>
What’s wrong?
Thank you in advance.
Try clearing the rule that sets the Readonly value for valid users. Since collection admins are also valid users then both rules are applicable. By just having the second one, all users will pick up the readonly rule by default, unless they are project connection admins.