hubcli role modify¶
Modifies the properties of an existing role.
The command has the following format:
hubcli role modify [flags] rolename
where:
- flags
- One or more optional flags that provide additional control over execution of the command.
- rolename
- The name of the role to modify.
The following flags are available:
--actions action-list- Specifies the list of actions for the current permission.
If more than one action is specified, separate actions with a comma.
If you want to specify all actions, specify
*(asterisk). -c stringor--connection string- Specifies the name of the connection to use.
If you do not specify this option, then the default connection is used.
If there is no default connection, then you must specify a connection.
The first connection created for the Altair SLC Hub instance is set by default as the default Hub instance,
but a different default connection can be set using the
hubcli connection usecommand. --debug- Enables debug logging.
--description text- Specifies a description for the role. The role description can be seen when you view the role in Altair SLC Hub Portal.
--effect effect- Specifies the effect for the current permission; this can be one of
AlloworDeny. The default isAllow. -f fnameor--filename fname- Specifies the name of a file that contains the role definition.
You can specify
-to read the definition from stdin. -hor--help- Returns help information for this command.
--matcher matcher- Specifies the object matcher to use;
you can specify
simple,doublestar,regex, orhierarchy. The default issimple. --object object- Specifies a new permission for the specified object.
--resetPermissions- Resets the list of permissions before applying
--object,--actions,--effect.
For more information about actions, matchers, and permission effects see Role permissions.