Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Anchor
Rolesmanagement
Rolesmanagement
Roles management

Manage roles command

Managing roles using CLI is done using the following command:

Windows  

...

 infra\bin\psin_cli.bat
                    -i3-user

...

<user_

...

name>
                    {-i3-encrypted-password

...

<encrypted_

...

password> | -i3-clear-password

...

<clear_

...

password>}
                    -action manage-roles
                    -roles-parametersfile <roles_parameters.xml>

...

UNIX            ./infra/bin/psin_cli.sh
                    -i3-user <user

...

_

...

name>
                    {-i3-encrypted-password

...

<encrypted_

...

password> | -i3-clear-password

...

<clear_

...

password>}
                    -action manage-roles
                    -roles-parametersfile <roles_parameters.xml>

Table 9-1    Elements 1 Elements of the Manage roles command

...

…additional nodes definitions

</complex>]

</root>

Table 9-2    Parameter 2 Parameter values for Adding a new role

...

NOTE: To define permission on all the resources of a specific type and all future resources as well (i.e. all instances), do not specify any resource information. Instead, define the resources value attribute as "*". To define permission on all the nodes do not specify any node name. Instead, define the nodes value attribute as "*".

Mandatory: No

Table 9-3    Role 3 Role scope parameters

Role scope parameter    Resource information    Example

...

NOTE    This parameter default value is ‘true’.

Parameters specification

Table 9-4    Parameter 4 Parameter values for Deleting a role

...

NOTE    The role ‘I3 Manager’ cannot be edited.

Parameters specification

Table 9-5    Parameter 5 Parameter values for Editing a role

...

-roles-parametersfile <users_parameters.xml>

Table 9-6    Elements 6 Elements for the Manage users command

...

…additional roles definitions

</complex>]

</root>

Table 9-7    Parameters 7 Parameters for Adding a new user

Parameter    Description

...

NOTE    The ‘admin’ user cannot be deleted. The user activating this command cannot delete himself.

Table 9-8    Parameters 8 Parameters for Deleting a user

Parameter    Description

...

…additional roles definitions

</complex>]

</root>

Table 9-9    Parameters 9 Parameters for Editing a user

Parameter    Description

...

[-output-file <file_name>]

Table 9-10    Elements 10 Elements for Exporting users/roles

...

[-user-name <user_name>] [-output-file <file_name>]

Table 9-11    Elements 11 Elements for the User permissions summary

...