26.04.2015 Views

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

Team Development with Visual Studio Team Foundation Server

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Administration<br />

• How do I grant permissions on a file <strong>with</strong>in a folder that has inherited<br />

permissions?<br />

• What should I do if a developer has left the project?<br />

• How do I manage interns or other developers that I do not trust to perform<br />

check-ins?<br />

• How should I modify permissions after my application has shipped?<br />

How do I grant permissions on a file <strong>with</strong>in a folder that has inherited<br />

permissions?<br />

You set permissions by right-clicking the folder or file in Source Control Explorer,<br />

clicking Properties, and then on the Security tab, selecting the user or group for which<br />

you want to change permissions, and editing the permissions listed under Permissions.<br />

You can also set these permissions on the command line by using the Permission<br />

command of the TF command-line utility.<br />

<strong>Team</strong> <strong>Foundation</strong> Source Control allows you to grant access-control permissions to<br />

Windows Groups, Windows Users, and <strong>Team</strong> <strong>Foundation</strong> Groups. Permissions can be<br />

inherited from the containing folder, or you can declare permissions explicitly.<br />

Permission settings are in the form of either Allow or Deny. Deny always overrides<br />

Grant, even if Deny is inherited and Grant is explicitly defined. The inherited permissions<br />

are combined <strong>with</strong> the explicit permissions to determine a user’s or group’s effective<br />

permissions on an item. Because Deny always overrides Allow, you can keep inherit<br />

turned on and deny check-in, for example.<br />

Be careful when turning inheritance off; for example, you should first set the explicit<br />

permissions required and make sure to assign your own account-specific permissions<br />

before turning inheritance off. If you turn inheritance off <strong>with</strong>out setting the desired<br />

permissions, you can lock yourself out of a file or folder and require a TFS administrator<br />

who is also an administrator on the application tier computer to fix the permissions.<br />

Application tier local administrators can never completely lock themselves out by design.<br />

Additional Resources<br />

• For more information about permissions, see “<strong>Team</strong> <strong>Foundation</strong> <strong>Server</strong> Default<br />

Groups, Permissions, and Roles” on MSDN at http://msdn2.microsoft.com/enus/library/ms253077.aspx<br />

• For further information about permissions, see “Source Control Security Rights and<br />

Permissions” on MSDN at http://msdn2.microsoft.com/en-us/library/ms181761.aspx

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!