Controlling access to specific repositories
You can enable or disable file commands at the repository level, which overrides the global security group settings. Security can be modified for any group for the selected repository. Repository security affects all branches in the selected repository.
For example, if you have multiple products and development teams, you can configure repository security to restrict each development team to specific repositories. Or, you may have a large number of repositories and only a few security groups. Instead of creating additional security groups, and adding users to those groups, you can set repository level security that restricts the commands users can access.
1. Select the repository and choose Activities > Properties.
The Properties dialog box opens.
2. Click the Security tab to configure repository security.
The text at the top of the tab explains how the repository security affects other branches.
- The Group column displays the name of all security groups.
- The Inherited From column displays where security permissions are set.
- The Security column displays a summary of the group’s security.
3. Click Modify to change the security. The fields are enabled.
4. Make any changes to security settings.
- To override permissions for a group, select it, click Override, and enable or disable commands. Click Enable All to enable all commands or click Disable All to disable all commands.
- To add a security group, click Add and select the group. You can select specific groups set different permissions for each group or select <All other groups> to set permissions that apply to security groups without any security overrides set on the repository.
- To remove a group, select it and click Remove. You can only remove a group if security is configured for <All other groups>. When a group is removed, it uses the security permissions set for this group.
- To revert security overrides, select a group and click Inherit. The group inherits the default security permissions set for the server.
5. Select Force all child repositories to inherit these security permissions to apply security to the selected repository and all child repositories.
This option applies the permissions you configured to all child repositories and removes any security overrides set in child repositories.
6. Click OK to save the changes.