For the complete documentation index, see llms.txt. This page is also available as Markdown.

Harness RBAC for AI DLC Insights

Learn how AI DLC Insights integrates with Harness RBAC to manage user permissions and access across account and project scopes.

Overview

Harness Role-based Access Control (RBAC) allows you to manage permissions for Harness AI DLC Insights resources and users. With AI DLC Insights integrated into the Harness RBAC framework, SEI permissions behave like any other Harness module—enabling consistent, scalable access control across your organization.

Scopes in Harness RBAC

The Harness platform follows a three-level hierarchical structure. Each level (or scope) defines how permissions and resources are inherited and applied:

  • Account Scope: Includes all organizations and projects within your Harness account. Resources created at the account level are available to all organizations and projects under that account.

  • Organization Scope: Groups related projects, resources, and users. Resources created at the organization level are available to all projects within that organization but are not visible outside it.

  • Project Scope: Contains resources specific to a project, such as SEI insights. Project-level resources are not shared with other projects or organizations.

Before configuring RBAC roles, ensure AI DLC Insights is enabled on your account. For more information about Harness RBAC, see the Harness Platform documentation.

Resources and scopes

Harness AIDI enables you to control who can view, edit, and manage SEI data across account and project scopes.

Resource

Scope(s)

Notes

Data settings

Account, Project

Includes developer records (one per individual) and integrations (GitHub, Azure DevOps, Jira, Harness CI/CD, etc.).

Teams

Project

Team and hierarchy definitions live at the project level.

Insights Categories

Project

Includes insight dashboards and data.

Profiles

Account

Includes Efficiency, Productivity, and Business Alignment profiles.

Studio

Project

Controls access to custom dashboards, including create, edit, publish, clone, and delete actions. Visibility is further scoped by Teams (associated by Org Trees).

Out-of-the-box roles

Harness AIDI provides out-of-the-box roles for setting up access in AI DLC Insights: SEI Admin, SEI Team Manager, and SEI Viewer.

SEI Admin (Account + Project Level)

The SEI Admin role enables users full control over SEI configurations and data.

Resource

Scope(s)

View

Edit

Create

Delete

Notes

Data settings

Account, Project

Manage contributor data and integrations.

Teams

Project

Manage team definitions in any project.

Studio

Project

Create, edit, publish, clone, and delete custom dashboards.

Insights Categories

Project

View insight dashboards.

Profiles

Account

Manage org trees and profile assignments.

SEI Team Manager (Project Level)

The SEI Team Manager role enables users to manage team configurations and developer records within a project.

Resource

Scope(s)

View

Edit

Create

Delete

Notes

Data settings (Developers)

Project

Can only update developer IDs.

Teams

Project

✅ (All teams in the project, unless restricted by resource group)

Can manage team settings and memberships.

Insights

Project

Read-only access.

Data settings (Integrations)

Account

Read-only access.

Profiles

Project (read-through)

View relevant profile assignments at the project level.

SEI Viewer (Project Level)

The SEI Viewer role enables users read-only access to SEI dashboards and data.

Resource

Scope(s)

View

Edit

Create

Delete

Notes

Data settings (Developers)

Project

View contributor activity and mappings.

Teams

Project

View team settings and org trees.

Insights

Project

View dashboards.

Data settings (Integrations)

Account

View-only access.

Profiles

Project

View-only access.

Create a role and assign users and groups

If you're an Account Admin, follow these steps to assign an out-of-the-box role (such as SEI Admin) with account and project level access to an existing user or group in AI DLC Insights.

Assign an SEI Admin Role in Harness

If you're an Account Admin, follow these steps to create a custom role with view access in AI DLC Insights. After creating the role, you’ll need to assign it to the users or user groups who require access to AI DLC Insights.

Create and Assign Custom Roles in Harness AIDI

You can assign the role to individual users or to user groups, depending on your organization's access control preferences.

Once roles are assigned, users automatically gain access to AI DLC Insights within their existing projects.

Create a resource group using the Harness API

You can programmatically create and manage resource groups using the Harness Platform API when you need to set up AI DLC Insights access for multiple teams, each with its own resource group and user assignments.

If a resource group includes specified projects, it provides access to resources in one or more selected projects. This option is available for resource groups created at the org scope, and you can use it to provide multi-project access without granting access to all projects under an org.

All Project Level Resources includes all resources in the project's scope. This is set for each project. If you have multiple projects, you have an All Project Level Resources for each project.

Prerequisites

  • A valid Harness API key with permissions to manage resource groups

  • Your Harness Account ID, Org ID, and Project ID

  • AI DLC Insights enabled in your project

Create a resource group and role assignment

Create a project-level resource group to define which users or user groups have access to specific resources in AI DLC Insights. Each resource group acts as a logical boundary (for example, one per engineering team) and includes both the resources it controls and the associated role assignments.

  1. List existing resource groups. Use the following request to confirm which resource groups already exist in your SEI project:

  2. Create a resource group (for example, team-bravo) and define its scope and resources.

    Customize the following key fields in your request:

    Field
    Description

    identifier

    Unique ID for the resource group.

    name

    Display name for the resource group.

    color

    (Optional) Custom color for visual identification.

    tags

    Key-value pairs for metadata or categorization.

    included_scope

    Defines the account, org, and project where the group applies.

    resource_filter

    Specifies which SEI resources (e.g., profiles, integrations) the group manages.

    include_all_resources

    Set to true to include all resources in the scope.

    This request creates a resource group scoped to the Team Bravo project.

  3. Assign developers (as users or user groups) to the resource group by creating a role assignment.

    This request assigns the Developer role to the Team Bravo user group, granting access to the resources in the team_bravo_resource_group.

  4. Verify the role assignment was created successfully.

For more information, see the Harness Platform API documentation.

Last updated

Was this helpful?