securerepository
Set repository security to restrict the activities that users can perform at the repository level. These settings override the global security group settings and apply to a specific mainline branch, across all branches in the mainline, or to a specific repository. You can modify the repository security settings for any group for the specified repository.
To only display the repository security settings, do not enter -a, -f, or -r.
sscm securerepository [-a|-a-] [-bBranch|-o] [-f+/-Command1[+/-Command2 ...]] [-gGroupName] [-h] [-pRepository] [-r] [-y[Username:Password|+|=]] [-zSCMServerAddr:PortNum|zPath] [+u]
Option | Description |
---|---|
-a | Add a security group to a repository. If security group has access to this repository because its security is inherited from parent repository, copy inherited security settings and mark group security as not inherited. Enter -a- to remove security group from this repository. |
-b | Branch that contains repository. If not specified, default working directory branch is used. |
-f | Commands to enable or disable: RepoListVisible, Add, Remove, Get, CheckIn, ChangeType, ChangeProperties, History, ShareFiles, BreakShares, Rename, Destroy, SetCustomFieldValues, ChangeState, Move, or All. |
-g | Security group name. |
-h | Display online help for the command. |
-o | Use security that applies to all branches. |
-p | Full path to repository, including parent repositories. If not specified, default working directory repository is used. |
-r | Recursively force all subrepositories to inherit repository security settings. |
-y | Enter a Surround SCM username and password if you do not want to use the default value. To use single sign-on, enter -y+. If you use an identity provider to authenticate, the provider web page opens if you have not yet authenticated. Authenticate with the provider and then return to the CLI. |
-z | Enter the Surround SCM Server host computer address and port number if you do not want to use the default value. IPv6 addresses must be in square brackets. If you received a server settings file from your Surround SCM administrator, enter the path to the XML file instead of entering the server connection information. |
+u | Display output in Unicode (Windows only). Output cannot be sent to a file. If output is enabled for all commands, enter +u- to disable it for this command. |