Modifying a Role

You can modify diverse parameters of an existing role, including its privileges.

config:#

role modify <name> description "<description>"

Variables:

config:#

role modify <name> addPrivileges <privilege1>;<privilege2>;<privilege3>...

If a specific privilege contains any arguments, add a colon and the argument(s) after that privilege.

config:#

role modify <name> addPrivileges <privilege1>:<argument1>,<argument2>...;
<privilege2>:<argument1>,<argument2>...;
<privilege3>:<argument1>,<argument2>...;
...

Variables:

config:#

role modify <name> removePrivileges <privilege1>;<privilege2>;<privilege3>...

If a specific privilege contains any arguments, add a colon and the argument(s) after that privilege.

config:#

role modify <name> removePrivileges <privilege1>:<argument1>,<argument2>...;
<privilege2>:<argument1>,<argument2>...;
<privilege3>:<argument1>,<argument2>...;
...

Note: When removing privileges from a role, make sure the specified privileges and arguments (if any) exactly match those assigned to the role. Otherwise, the command fails to remove specified privileges that are not available.

Variables:

See Also

Role Configuration Commands

Creating a Role

Deleting a Role

Example - Creating a Role