Skip to main content

Workflows RBAC

For IDP 1.0 Customers

This RBAC guide is applicable only to IDP 2.0 customers, as the RBAC Harness platform hierarchy is available exclusively in IDP 2.0.

With the release of Granular RBAC in IDP 2.0, you can now control access to Workflows in your Harness IDP. This means you can restrict who can create and execute Workflows across your IDP setup. Workflows can be created at all available scopes: Account, Organization, or Project. To learn more about permissions and scopes, visit the IDP 2.0 Data Model.

For IDP 2.0 Customers

If you're using Harness IDP 2.0, please ensure you have reviewed the IDP 2.0 Overview guide and are familiar with the key steps for upgrading to IDP 2.0. To enable IDP 2.0, you must raise a support ticket to activate the IDP_2_0 feature flag for your account.

RBAC Workflow in Harness IDP

Before configuring RBAC for Workflows, ensure you’ve reviewed the Scopes, Permissions, and RBAC Components.

Here’s the step-by-step workflow for configuring RBAC in Harness IDP:

  1. Go to your administrative settings and select the scope (Account, Org, or Project) where you want to configure RBAC for Workflows.
  2. Create roles with the required permissions. For example: If you want to configure RBAC for Workflow creation, ensure the role includes the Create/Edit (Workflow) permission.
  3. Create resource groups to apply RBAC to a specific set of resources for the principal. For example: To control Workflow access, ensure the Workflow resource is added to the resource group.
  4. Create user groups and add users.
  5. Assign roles and resource groups to the user groups or users.
  6. If not already configured, set up authentication.

Permissions for Workflows

The following permissions can be configured for Workflows when creating a custom role:

PermissionDescription
Create/EditAllows users to create Workflows and modify their configurations.
ViewAllows users to view Workflows but not create, modify, or delete them.
DeleteAllows users to delete Workflows.
ExecuteAllows users to execute Workflows.

These permissions can be configured when creating or modifying a custom role. Choose the permissions that best suit the access level you want to grant. To learn more, see Manage Roles.

Workflow RBAC Example

You can access Administrative Settings from your Harness UI directly using the sidenavbar.

Configure RBAC for Project-Level Workflow Execution

This example walks through configuring RBAC to allow users to execute Workflows at a specific project level.

The configuration includes:

  • Custom Role: IDP Workflow Execute
  • Custom Resource Group: All Workflow Execute Resources
  • Custom User Group: Workflow Execute Users

The All Workflow Execute Resources group exists at the project scope and grants Execute access to all Workflows within that project. The IDP Workflow Execute role includes the Execute permission for Workflows.


Step 1: Create the IDP Workflow Execute Role

  1. In Harness, navigate to the project where you want to configure RBAC.
  2. Go to Project SettingsRoles under the Access Control category.
  3. Click New Role to create a new role.
  4. Name the role IDP Workflow Execute. (Description and tags are optional.)
  5. Click Save.
  6. Under Developer PortalWorkflow, select the Execute permission.
  7. Click Apply Changes.

Learn more about role creation and permissions: Manage Roles | Permissions Reference


Step 2: Create a custom Resource Group

  1. In the same project, go to Project SettingsResource Groups under Access Control.
  2. Click New Resource Group.
  3. Name the group All Workflow Execute Resources. (Select a color; description and tags are optional.)
  4. Click Save.
  5. For Resource Scope, select Project only. (This restricts access to resources within this project only.)
  6. Under Resources, select Specified, then choose Workflow.
  7. Click Save.

If you need to allow Workflow execution at a higher scope (Org or Account), configure the role, resource group, and user group at that higher scope. Learn more: Manage Resource Groups


Step 3: Create the Workflow Execute Users User Group

  1. In the same project, go to Project SettingsUser Groups under Access Control.
  2. Click New User Group.
  3. Name the group Workflow Execute Users. (Description and tags are optional.)
  4. Under Add Users, select the users to include.
  5. Click Save.

Learn more: Manage User Groups | Manage Users


Step 4: Assign the Role and Resource Group to the User Group

  1. In the same project, go to Project SettingsUser Groups.
  2. Find the Workflow Execute Users group and click Manage Roles.
  3. Under Role Bindings, click Add.
  4. For Role, select IDP Workflow Execute.
  5. For Resource Groups, select All Workflow Execute Resources.
  6. Click Apply.

Learn more: Role Binding


This configuration grants members of the Workflow Execute Users group the ability to execute Workflows within the selected project scope only. To extend this capability across projects or orgs, configure the role and resource group at the appropriate higher scope (Org or Account).