Skip to content

hubcli role deny

Denies permission for all actions set for a specified object.

The command has the following format:

hubcli role deny [flags] rolenameint

flags
One or more flags for the command that provide additional control over execution.
rolename
The name of the role to which the object is attached.

The following flag is mandatory:

--object name
Specifies the object name from which permissions are removed.

The following flags are optional:

-c string or --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 use command.
-h or --help
Returns help information for this command.
--matcher string
The object matcher to use. This can be one of simple, doublestar, regex, and hierarchy. The default is simple. For information on the matchers, see Role permissions.