Configure RBAC
Use roles for RBAC in Harness.
Role-based access control (RBAC) in Harness controls who can access your resources and what actions they can perform. This page walks you through the complete workflow to configure RBAC in your Harness account, from creating roles and resource groups to assigning them to users and user groups.
What you will learn in this topic
By the end of this topic, you will be able to:
Before you begin
Before you configure RBAC in Harness, ensure you have:
Admin permissions: You must be an admin at the account, organization, or project scope where you want to configure RBAC. If your account is new, contact Harness Support to provision the first admin.
RBAC knowledge: Familiarity with RBAC components (principals, roles, resource groups) and role binding.
Harness hierarchy: Understanding of the account, organization, and project hierarchy and how scope affects permissions.
If you don't have admin permissions, you can still configure some aspects of RBAC with these granular permissions:
Users: Requires View, Manage, and Invite permissions for Users
User groups: Requires View and Manage permissions for User Groups
Resource groups: Requires View, Create/Edit, and Delete permissions for Resource Groups
Roles: Requires View, Create/Edit, and Delete permissions for Roles
RBAC configuration workflow
Configuring RBAC in Harness requires creating roles (which grant permissions), resource groups (which grant access), and principals (users, user groups, or service accounts), then binding them together.
Complete RBAC workflow
To configure RBAC in Harness, you must:
Create resource groups and, optionally, apply ABAC.
Assign roles and resource groups to users, user groups, and service accounts.
If you have not already done so, configure authentication.
RBAC workflow examples
These examples walk through two specific RBAC configuration scenarios.
Next steps
After you configure RBAC in Harness, you can:
Set up authentication to control how users sign in to Harness
Use attribute-based access control (ABAC) to add conditional access based on user attributes
Provision users and groups automatically from your identity provider using SCIM
Review the Permissions reference for a complete list of available permissions
Learn about resource types you can include in resource groups
Last updated
Was this helpful?

