No results for ""
EXPAND ALL
  • Home
  • API docs

Adding member roles

Read time: 2 minutes
Last edited: Feb 18, 2025

Overview

This topic explains how to add built-in and custom roles to members in LaunchDarkly.

Give members custom roles

To add a built-in or custom role to a member:

  1. Click the gear icon in the left sidenav to view Organization settings.
  2. Click Members. The Members list appears.
  3. Find the account member you wish to give a custom role.
  4. Click that account member's name. The member's Access tab opens.
  5. Click Assign access. A dialog appears:
A member's "Assign access" dialog.
A member's "Assign access" dialog.
  1. Choose a built-in project role, or choose Custom.
  2. If you choose Custom, a menu containing your organization's custom roles appears. Choose the custom role you wish to give the member.
  • If the custom role includes a role attribute, enter a value. For example, if the custom role includes a project role scope with a role attribute of developerProjectKey, enter a project key in the Resources field:

    A member's "Assign access" dialog, with a role attribute and resource specified for the custom role being assigned to this member.
    A member's "Assign access" dialog, with a role attribute and resource specified for the custom role being assigned to this member.
  1. Click Assign access. You are returned to the Access tab.

The account member's access is defined by the assigned roles. If you assign multiple custom roles and the custom roles have conflicting permissions levels, the more permissive level of access is applied. For example, if a member has one custom role that allows access to a resource, and another custom role that restricts access to a resource, the member is allowed access.

You can also use the REST API: Modify an account member

Use Teams to assign roles to multiple members

You can use the Teams feature to group a set of members and assign them all the same custom roles. To learn more, read Teams.

You can also assign custom roles through your IdP with SSO or SCIM. For an in-depth guide on how to use custom roles with IdPs, read Creating custom roles.