DCSIMG
Q: Specific Security Group That Will Have Some Fields Disabled Or With Less Options - Shai Raiten's Blog

Shai Raiten's Blog

It's all about code...

Q: Specific Security Group That Will Have Some Fields Disabled Or With Less Options

Q: Specific Security Group That Will Have Some Fields Disabled Or With Less Options

Hi,

About his question, here is two option you can do.

The first one is to make this Field ReadOnly, but this mean when user out of the specific group will open the work item he will not see any value.
(ReadOnly clears the values)

<FIELD name="FieldName" refname="FieldRefName" type="String" >

  <READONLY for="[project]\MyNewGroup" />

</FIELD>

and the second solution is:

<FIELD name="FieldName" refname="FieldRefName" type="String" >

      <ALLOWEDVALUES for="[Project]\MyNewGroup">

              <LISTITEM value="Yes" />

              <LISTITEM value="No" />

      </ALLOWEDVALUES>

</FIELD>

Comments

Team System News said:

Brian Harry on A new TFS add-on from Teamprise GertD on New VSDB Blog Mike Fourie on Team Foundation...

# November 28, 2008 9:06 AM

vishal said:

hi

i have created a new group [projectname]\developers and [projectname]\testers. In the bug work item type I want to show only members from "developers" group against "Developer" dropdown and members from "testers" group against "Tester" dropdown. Can this be done? Thanks.

# February 24, 2010 10:02 PM

shair said:

Hi,

Yes, this can be done using the following command -

<FIELD name="Developers List" refname="Custom.DevList" type="String" >

<LISTITEM value="[project]\Developer" />

# March 2, 2010 1:32 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: