Assigning Access Roles in Workload Manager

Steps for assigning resource access roles in Workload Manager.

Describes how to assign a resource access role for a Workload Manager user.
  1. Verify that you are logged in to the Workload Manager web UI.
    1. In a supported browser, log into the Cloudera Data Platform.
      The CDP Public Cloud web interface landing page opens.
    2. From the Your Enterprise Data Cloud landing page, select the Workload Manager tile.
  2. In the Clusters page, locate the cluster in which to add a the user resource access role and do the following:
    1. From the cluster's Actions menu, select Enable Access Control.
      The Manage Access action is set and displayed in the cluster's Actions menu.
    2. Once the Manage Access action is displayed, select Manage Access.
      The Manage Access page opens.
    In this example, the cluster Velociraptor is used:

  3. In the Manage Access page, click Update Roles.

    The Update Resource Roles window opens, which displays the resource role options that you can assign to a user.
  4. In the Update Resource Roles window, select the resource role or roles you require for the user and click Update Roles. In this example, the WXMLimitedClusterUser role is selected, which gives the user limited access to the environment, but provides access and visibility to their workloads:

  5. Click Update Roles.
  6. Verify that the cluster you require for analysis is still displaying in the main menu.
  7. In the Navigation bar, select Workloads.
  8. In the Workloads page, locate the workload for the user you assigned the WXMLimitedClusterUser resource role and then click its Actions menu and select Manage Access.

  9. Locate and select the user who you assigned the WXMLimitedClusterUser resource role and in the Update Resource Roles window, select WXMWorkloadUser, which enables the user to view the Workload's jobs and queries in Workload Manager.

  10. Click Update Roles.
When the VelociraptorUser user opens Workload Manager they will only be able to view their jobs related to the VelociraptorWorkload workload.

Also, the roles that you assign in Workload Manager are visible in the Cloudera Manager User Management page, under the Resources tab. As shown in the image below: