rhpctl add role

Use the rhpctl add role command to create roles and add them to the list of existing roles on the Rapid Home Provisioning Server configuration.

Syntax

rhpctl add role –role role_name -hasRoles roles

Parameters

Table F-4 rhpctl add role Parameters

Parameter Description
-role role_name

Specify a name for the role that you want to create.

-hasRoles roles

Specify a comma-delimited list of roles to include with the new role.

  • GH_ROLE_ADMIN
  • GH_SITE_ADMIN
  • GH_SERIES_ADMIN
  • GH_SERIES_CONTRIB
  • GH_WC_ADMIN
  • GH_WC_USER
  • GH_IMG_ADMIN
  • GH_IMG_USER
  • GH_IMG_TESTABLE
  • GH_IMG_RESTRICT
  • GH_IMG_PUBLISH
  • GH_IMG_VISIBILITY
  • GH_SA
  • GH_CA
  • GH_OPER

Usage Notes

  • You can only run this command on the Rapid Home Provisioning Server

  • You must be assigned the GH_ROLE_ADMIN role to run this command

Example

To add a role on the Rapid Home Provisioning Server:

$ rhpctl add role -role hr_admin -hasRoles GH_WC_USER,GH_IMG_USER