Skip to main content

Get Started with RBAC

For IDP 1.0 Customers

This RBAC guide is applicable only to IDP 2.0 customers, as the RBAC and project/org hierarchy is available exclusively in IDP 2.0.

RBAC in IDP 2.0

Harness IDP 2.0 introduces granular RBAC across various IDP resources such as Catalog and Workflows. This means you now have precise control over who can view or edit your IDP resources. RBAC enables administrators to define what actions users can perform on specific resources, with scope-aware permissions aligned with Harness Projects, Organizations, and Accounts.

Harness IDP leverages the platform hierarchy and applies the same access control model as Platform RBAC. To learn more, visit the RBAC in Harness documentation.

Prerequisites

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.

Before configuring RBAC in Harness IDP:

  • You must be an Admin at the Account, Organization, or Project scope.
  • For newly created accounts, contact Harness Support to provision the first admin.

If you're not an admin, you may still configure certain RBAC settings if you have the required granular permissions:

FeatureRequired Permissions
UsersView, Manage, Invite
User GroupsView, Manage
Resource GroupsView, Create/Edit, Delete
RolesView, Create/Edit, Delete

Also, ensure you understand the following concepts:

RBAC Configuration Workflow

To configure RBAC in Harness IDP, follow these steps:

  1. Go to Account, Organization, or Project Settings where you want to apply RBAC.
  2. Create roles with desired permissions.
  3. (Optional) Create resource groups to control access over certain resources to control access over specific resources.
  4. Create user groups and add users.
  5. Assign roles and resource groups to users or user groups.
  6. (Optional) Configure authentication, if not already done.

Permissions & Resource Scopes

IDP 2.0 resources can be created at any scope—Account, Organization, or Project—and access is determined by the RBAC permissions configured at each level. You can use predefined roles or create custom roles, and organize permissions using resource groups. These follow the same model as the broader Harness RBAC framework.

ResourcePermissionsAccount ScopeOrg ScopeProject ScopeNotes
CatalogView, Create/Edit, DeleteCore entities like Component, API, Resource can be managed at all scopes.
WorkflowsView, Create/Edit, Delete, ExecuteWorkflows can be created and executed at all scopes.
ScorecardsView, Create/Edit, DeleteCurrently supported only at Account scope.
LayoutsView, Create/EditPartialPartialWorkflow Groups are supported at the Project and Org scopes. Other Layout functions are currently only supported at the Account scope.
PluginsView, Create/Edit, Toggle, DeleteOnly supported at the Account scope.

Configure RBAC for Account-Level Catalog Entity Creation

This example shows how to configure RBAC to allow full control over Catalog entity creation and modification at the Account scope (including all child resources).

In this example, we use:

  • A custom role: IDP Catalog Create
  • (Optional) A custom resource group: All Catalog Create Resources
  • (Optional) A custom user group: Catalog Create Users

The All Catalog Create Resources group exists at the Account scope and provides Create/Edit access to all Catalog entities across the account, including all organizations and projects. The IDP Catalog Create role includes the Create/Edit permission for Catalog resources.

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


Step 1: Create the IDP Catalog Creator Role

Learn more about roles: Manage roles | Permissions reference


(Optional) Step 2: Create a custom Resource Group

Learn more: Manage resource groups


(Optional) Step 3: Create the "Catalog Create Users" User Group

Learn more: Manage user groups | Manage users


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

Learn more: Role binding

This setup configures RBAC so that users in the Catalog Create Users group have Create/Edit access to Catalog entities at the Account scope, as well as within all Organizations and Projects under the account.