> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage Roles

> Configure default roles (owner, department leader, primary admin), build custom role groups, assign members, and manage role-based permissions for refined collaboration.

## 1. Feature Overview

In enterprise digital management, role management is an important foundation for permission assignment and organizational collaboration. Properly configuring and managing role permissions can improve efficiency, protect data security, and support refined management.

## 2. Procedure

### Default Role Groups

#### A. Set Enterprise Owner or Person in Charge

This role can obtain all feature management permissions, namely primary administrator permissions.

#### B. Set Leaders

Go to [Admin Console](https://oa.dingtalk.io) > Contacts > Department Management > select the target department > Edit Selected Department > Set Leaders

![](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Yvenve56wN78Kloy/img/eca1ca92-766f-430b-a4a5-dd23be062857.png)

#### C. Set Primary Administrators

Primary Administrator is a default role. A primary administrator must go to [Admin Console](https://oa.dingtalk.io) > Security and Permissions > Permission Management > Primary Administrator, then add a primary administrator.

![](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/Yvenve56wN78Kloy/img/49640f29-6272-4530-aec7-a4532e0d64df.png)

### Custom Role Groups

You can add members, edit roles, add roles, and create custom role groups.

Go to [Admin Console](https://oa.dingtalk.io) > Contacts > Roles> Add Role.

![](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/mPdnpEbQ7w5L2qw9/img/83c6e389-22b6-4a65-a053-ec581f7dcb47.png)

### Manage Role Groups

When editing a role, you can create a role group. Setting a group owner and dissolving the role group are supported.

#### Create a Role Group

Go to [Admin Console](https://oa.dingtalk.io) > Contacts > Roles > select the role > ... > Edit Role.

![](https://alidocs.oss-cn-zhangjiakou.aliyuncs.com/res/mPdnpEbQ7w5L2qw9/img/3f454848-8d19-4dbc-afec-a1a5d777b255.png)

Click Create Role Group, then Save.
