TFS: User and Group check-in permission on particular days

Topics: For TFSAdmin Developers, For TFSAdmin Users, TFSAdmin FAQ
Dec 31, 2009 at 6:34 PM

I have a requirement in which I have a Group Membership by the name ContributorA and ContributorB. Now I have ContributorA should allow for check-in on weekdays 1 and 2 (monday and tuesday) while ContributorB shouldbe denied and simillarly visa-versa for rest of the weekdays (wed, thur, fri) ContributorB should be able to check-in code while contributorA should be denied.

Now how can I automate this

Coordinator
Jan 4, 2010 at 7:45 PM

Unfortunately, this is not something you can achieve with the TFS Administration Tool. From the top of my head, you could write a script which would use the tf permission command to alter the source control permissions of the two security groups (contributorA and ContributorB). You could write two scripts which would run as scheduled tasks (Monday morning, and Wednesday morning).

Ladislau