Create role

Create a new role

The steps below describe how to create a new role using the Webconsole (admin interface). You can also upload new roles using the synchronization feature (CSV file) or through the OpenIAM Rest API.

To create a new role:

  • Login to the webconsole and go to Access Control > Role.
  • Go to Create new role from the side menu. You will see the screen below.

Create role - type

  • From the screen shown above, select the role type from the drown down. By default, OpenIAM provides two values: Access Role and Provision Role. These two values are simply used for classification and do not impact the behavior of the role in any way. The dropdown also shows all role types created by the user. If you are creating a role that will impact user provisioning, then select Provision role. You can use Access Role if you are focused on just SSO and authorization operations.
  • Complete the role creation screen as described in the table below.
Field NameDescription
Password policySelect the password policy that should be effective for the systems to be associated with this role. In most cases it is a Default Password Policy.
Role NameUnique name to identify this role.
DescriptionDetails describing this role. The description should be a meaningful and clear statement to assist end-users, access reviewers and others as they use the OpenIAM application.
Managed SystemIf this role will be used for provisioning, then the Managed System field value should be the system that account will be created in. If you need to manage more than one Managed System with this role, use Role entitlements screen to add other values.
RiskValue of the risk field can be low or high. By default, this value does not impact behavior. Rules can be introduced to leverage this flag, which is often needed for access certification campaigns.
StatusValues are Active or Inactive. They can prevent a role from being used by making it Inactive.
Max. number of usersMaximum number of users that can be members of this role.
Default membership durationDefault period, when a user can be a member of this role. After this period, the user will be removed from this role.
Role parentRoles support inheritance. The Role parent is the immediate role from which entitlements should be inherited.
GUIDGUID which may relate to this role in another application. This is not an OpenIAM generated value.
Role ownerUser or group of people who own this role. This value is often used in request / approval and access certification tasks.
Role adminUser or group of people who administer this role. This value is often used in request / approval and access certification tasks.
Is VisibleFlag is used to hide objects from some groups of administrators who have access to the webconsole and SelfService portals. Here, the object becomes available for super security administrators only.
Participate in access certificationFlag is used to determine if this role should be excluded from access certification requests.
All users provisioned to this roleFlag which determines if this role should be granted by default to all users regardless of other criteria.

Create role - details

The role creation and edit pages are template based. It means that you can remove or add the required field at your own discretion and according to your business needs. To amend the template go to Administration > Page templates > Default Role Template and click Edit.

In the screen shown in the figure below, you can add and/or remove a field, make it required and editable as needed.

Role Template - field amendment

Updating an existing role

To update an existing role, follow the steps below:

  • Find an existing role as described here
  • This will render the template described above. Click the _Edit_icon
  • Amend the values as needed and click Save.

Adding/deleting users from a role

Find the user you want to add to a specific role. Then, Go to User Entitlements and click Add button.

In the menu opened, add the respective role as needed by completing the fields. In case filling the End Date field will automatically delete the user from a respective Role.

The alternative way of adding the user to respected Role is to use Synchronization service, based on their HR data in the source system via CSV file, as shown here, or a connector, as shown here.

Adding resources to a role

In case there is a need to enable/disable a role to see menus or options, this is done by means of adding resources to a created role.

In the role editing screen, go to Role Entitlement and add a resource required for the role to have. The screenshot below shows adding a webconsole menu to one of the access roles.

Adding webconsole menu

Example

As an example, below you can find steps to create a new administration role for system engineer.

  1. Create a new role, as described above.
  2. Edit the newly created role as described in Updating an existing role section.
  3. Go to the left menu, click Role Entitlements and add below mentioned resources to the newly created role.
  • /webconsole/
  • /idp/rest/api
  • /webconsole/rest/api

Adding attributes

  1. Click the Menus option available on the left side.
  2. Select IDM from Menu tree drop down.

IDM

  1. Now double click on the Provisioning option and select NO DISPLAY NAME SET option as shown below.

Options

  1. Click Save to save the changes.
  2. Now assign the role to the user.
  3. Login with the user into the SelfService portal.

SelfService portal

  1. As expected only the Provisioning option is displayed in menu options as expected.