Assign roles by group name App
The User Role Sync app maps Atlan group memberships to roles and sub-roles, so each user's Atlan role stays in sync with their group assignments automatically. Use it when group membership is your source of truth for "who should be an admin, member, or guest". For example, the data-admins group should always have the Admin role. The app supports exact matches and regex patterns, plus a role-hierarchy setting that decides which role wins when a user belongs to multiple mapped groups.
Prerequisites
Before you set up the workflow, make sure:
- The User Role Sync app is enabled for your tenant. If you don't see it under New workflow, contact Atlan Support and request access. See the reference page for details.
- You are an admin in Atlan and can configure workflows. See Assign roles.
- You have a personal API token generated from your Atlan profile. The workflow uses it to authenticate when applying role updates.
- All the Atlan groups you plan to map exist. See Organize teams in groups.
Set up workflow
-
In your Atlan workspace, click Connectors in the left sidebar.
If you are using the Old UI (Classic), click New Workflow in the top navigation.
-
Search for User Role Sync, then click Set up workflow on the tile. The workflow configuration screen opens.
-
In the Workflow name field, enter a descriptive name. For example:
prod-user-role-sync -
In the Authentication section, paste your personal API token. The workflow needs this to authenticate when applying role updates to users.
Define role mapping rules
After authentication is set, define how group memberships map to roles. This also controls precedence when a user belongs to multiple groups, and lets you optionally assign sub-roles.
-
Choose a Selection mode:
-
List: Enter exact, comma-separated group names. Use this when you have a known set of groups.
data-admins,analytics-leads -
Regex: Enter a regular expression that matches multiple group names. Use this when groups follow a naming convention. The same pattern applies across all role fields. Common patterns:
Pattern Matches ^team-.*Any group starting with team-.*-admins$Any group ending in -admins(for example,data-admins,cloud-admins)^[a-z]{3}-ops$Exactly three lowercase letters then -ops(for example,eng-ops,dev-ops)(?i)^atlan_admin(_.*)?$Case-insensitive match for atlan_adminand any suffix
-
-
Choose a Role hierarchy that decides when a user belongs to multiple mapped groups.
The default Guest → Member → Admin assigns the most restrictive role. For example, if a user is in both
guests(mapped to Guest) anddata-admins(mapped to Admin), they receive Guest.Other orderings are available if you need to prioritize differently. For example, Admin → Member → Guest always assigns the most permissive role. See Role hierarchy for all options.
-
In the Admin group field, enter the groups whose members should receive the Admin role.
List example:
data-admins,analytics-leadsRegex example:
.*-admins$Watch for regex overlap with sub-role groupsIf your Admin regex is broad (for example,
(?i)^atlan_admin(_.*)?$), it may accidentally match sub-role groups likeatlan_admin_workflowand assign them the Admin role instead of their intended sub-role. To exclude specific sub-role groups from the Admin match, narrow your regex:(?i)^atlan_admin(?!_(workflow|governance))(_.*)?$ -
To delegate sub-roles, set Admin Sub Role Option to Static. This lets you assign fixed sub-roles to specific groups.
-
In the Workflow Admin (sub-role) Group field, enter the groups whose members should receive the
workflow-adminsub-role:engineering-ops-admins -
In the Governance Admin (sub-role) Group field, enter the groups whose members should receive the
governance-adminsub-role:data-governance-leads -
In the Admin Sub Role hierarchy field, define sub-role precedence. If a user qualifies for both, the one listed first wins:
workflow-admin,governance-adminTo define flexible sub-roles on a per-workflow basis instead of fixed ones, set Admin Sub Role Option to Dynamic and configure up to five custom sub-roles. See the reference for the dynamic configuration fields.
-
In the Member group field, enter the groups whose members should receive the Member role:
data-analysts,reporting-team -
In the Guest group field, enter the groups whose members should receive the Guest role, typically external viewers or contractors:
viewers,contractors -
Schedule and run the workflow. Run it manually for a one-time backfill, or set a recurring schedule so role assignments stay aligned with group membership over time.
Need help?
If you run into issues configuring the app, contact Atlan Support for assistance.
See also
- Assign roles by group name: Full configuration guide for the User Role Sync app.
- Assign roles (overview)
- Sync roles from your IdP: The in-product alternative driven by IdP claims instead of group membership.
- Delegate administration
- Provision groups by user designation