User Role Management

Prev Next

Once a user is added, a role should be assigned based on the privileges that should be granted to a specific role.

NOTE

Only a superuser user can assign roles as well as grant privileges to users. Users can only view the privileges granted but cannot edit/delete them.

Let us understand how to add a new role, edit and delete the role as well as assign roles to users based on the privileges granted to roles.

Adding a New Role

To add a new role:

  1. Click Security > Role Management and the following screen appears.

Graphical user interface, text, application  Description automatically generated

Figure 337: List of security roles

A list of already created roles will appear.

Click Add and the following screen appears.

Graphical user interface, text, application  Description automatically generated

Figure 338: Add a new role

Enter the Role Name and Role Description (the description can briefly list the privileges specific to the role). For example; Schema Admin is the Role Name and Role Description can provide description of the role such as ‘Managing schemas’.

Click Add and the role is added as shown in the following figure.

A screenshot of a web page  Description automatically generated

Figure 339: New role added

Hover the mouse on the icon as shown below to view the role description.

Graphical user interface, text, application  Description automatically generated

Figure 340: Role description

Editing a Role

Once a role is added, you can edit the details of the role.

To edit role details:

  1. Hover the mouse on the user role and click the Edit Role icon next to the name of the role as shown in the following figure.

Graphical user interface, text, application  Description automatically generated

Figure 341: Edit role icon

The following screen appears.

Graphical user interface, application  Description automatically generated

Figure 342: Edit a role

Edit the Role Name and Role Description as needed.

Click Submit and the changes are updated successfully.

Deleting a Role

You can delete a role from PCC. However, a role will have certain privileges with users assigned to it. Thus, deleting a role will remove users assigned to it and they will no longer be able to perform actions assigned to the deleted role.

To delete a role:

  1. Hover the mouse on the user role and click the Delete Role icon next to the name of the role as shown in the following figure.

Graphical user interface, text, application, Teams  Description automatically generated

Figure 343: Delete role icon

The following screen appears.

Graphical user interface, text, application  Description automatically generated

Figure 344: Delete a role

Click Yes and the role is deleted successfully.

Once a new role is added, it is important to grant privileges to the role based on what actions the users assigned to the role need to do in PCC. As you click the role, the following three panels are displayed as shown in the following figure.

Graphical user interface, application  Description automatically generated

Figure 345: Security role management screen

The three panels are:

  • Catalog Independent Privileges

  • Catalog Level privileges

  • Users

Let us understand how to grant privileges and assign users to a role in the following sections.

Granting Catalog Level and Catalog Independent Privileges

There are two types of privileges that can be granted to a role which are as follows:

  • Catalog Independent Privileges – As the name states, these privileges are not specific to any catalog. The actions included in this list will not impact the catalog. This includes privileges related to digital assets, UoMs, security and adding a catalog. By default, none of the privileges are selected as shown in the following figure.

A screenshot of a computer  Description automatically generated

Figure 346: List of catalog independent privileges

For example, for Schema Admin role, the Catalog Add privilege is required.

Select Schema Admin role and then select Catalog privilege. Click Save as shown below.

Graphical user interface, application  Description automatically generated

Figure 347: Granting privileges to a role

The changes are updated successfully. Thus, a user with the Schema Admin role can now add a catalog as the privilege is granted. Thus, you can grant multiple privileges to a role. Similarly, you can remove the privileges by clicking Discard Changes. You can grant any privilege based on the role identified.

Hover the mouse on the icon next to the privilege name to view the details of what each privilege will allow a user to do in PCC as shown in the following figure.

Graphical user interface, application, Word  Description automatically generated

Figure 348: View details of each privilege

The privileges are grouped into categories depending on the actions being performed in various modules. For example, let us consider the module Digital Asset and the list of privileges are as shown below.

Graphical user interface, application  Description automatically generated

Figure 349: Various categories of privileges

You can assign all privileges under Digital Asset or choose the privileges to be assigned. However, if you choose a privilege that is dependent on any other privilege, an error is displayed as shown below. For example, let us select DA Delete.

A screenshot of a cell phone  Description automatically generated

Figure 350: Error message related to privilege.

As displayed, you cannot grant DA Delete privilege until DA Edit is granted. The simple reason being that you cannot delete an asset unless you have edited or modified the asset properties. Once you select DA Edit, you can then select DA Delete too.

  • Catalog Level Privileges – As the name states, these privileges are specific to a catalog. A complete list of catalogs created in PCC are displayed. By default, none of the privileges are selected in any catalog as shown in the following figure.

A screenshot of a computer  Description automatically generated

Figure 351: Catalog level privileges

For example, for Schema Admin role, the catalog level privileges need to be set in all catalogs for schema related functions. Let us select the Catalog, PCC Test Catalog as shown in the figure above.

Select the Schema related actions and click Save as shown below.

Graphical user interface, application  Description automatically generated

Figure 352: Grant catalog level privileges to a role

The changes are updated successfully. Similarly, you can remove the privileges by clicking Discard Changes. Thus, for a role selected, you can choose the catalog as well as select specific actions applicable for the role from the catalog. However, if you choose a privilege that is dependent on any other privilege, an error is displayed as mentioned here.

Both the catalog level as well as catalog independent privileges will be granted based on the role. For example, a superuser will have all privileges whereas a Schema Admin will be provided privileges that are required to perform Schema related actions only.  

Assigning Users to Roles

Once a user role is defined, you need to assign users to roles who will perform actions based on the privileges granted to the role.

To assign a user to a role:

  1. Select the role. For example, in this case, Schema Admin.

  2. Click Add User in the last panel as shown in the following figure.

Graphical user interface, application  Description automatically generated

Figure 353: Add user link

The following screen appears.

Graphical user interface  Description automatically generated

Figure 354: Add user to the role

Select the user from the list of Available User(s). The users are displayed based on users added as explained in Adding a New User to Access PCC section.

Click to move the selected user to the right panel. In case, you need to move all the users, click A black arrows on a white background  Description automatically generated.

While moving users, if a wrong user is moved to the right panel, select the user in the right panel and click to move the user back to the left panel. You can also click to move all users.

Once the user is selected and added to the right panel, click Submit and the user is added successfully for the role. The user will now have all privileges granted to the role.

Removing a User

You can also remove a user from the role assigned. Removing a user will not delete the user. The user will continue to exist in other roles assigned, if any.

To remove a user:

  1. Hover the mouse on the user and click the Remove User icon as shown in the following figure.

Graphical user interface, text, application  Description automatically generated

Figure 355: Remove user icon

The following screen appears.

Graphical user interface, text, application  Description automatically generated

Figure 356: Remove a user

Click Yes. The access is revoked and the user is removed successfully from the role assigned.