Help Center/ CodeArts Repo/ User Guide/ Managing Member Permissions/ Syncing Project Members to CodeArts Repo
Updated on 2026-05-14 GMT+08:00

Syncing Project Members to CodeArts Repo

Overview

CodeArts Repo allows you to sync project members to your repository groups and repositories for better project management.

You can synchronize project members manually or automatically. Before the configuration, view Constraints and then refer to Auto-Syncing Project Members to a Repository Group or Repository or Manually Adding Project Members to a Repository Group or Repository.

Constraints

Table 1 Constraints on synchronizing project members

Item

Description

Permission constraint

The repo owner, repo administrator, and custom roles with member management permissions can change repo members. Other users can only view the repo member list. For details about permission configuration, see Configuring Repo-Level Permissions.

Function constraint

  • Before adding members to repository groups and repositories, make sure that the members have been added to a project. To add project members, see Adding Project Members.
  • If the member list displayed after clicking the Add Member button is empty, no member is available to add to the repository. In this case, configure repository-level permissions by referring to Configuring Repo-Level Permissions.
  • In the member list, all members can be set to any project role and can be removed from the repository.

Constraints of sync for all roles

  • After turning on Enable sync for all roles, you must also turn on Sync project members.
  • Project manager is always synced.
  • By default, 50 role records are displayed in the list. You can switch between pages as required.
  • After sync is enabled for all roles, role configuration is disabled, and a message is displayed asking users to disable sync for all roles before modifying the settings.

Auto-Syncing Project Members to a Repository Group or Repository

CodeArts Repo supports syncing project members within one click. After this function is enabled, project members of the selected role can be automatically synced to all repository groups and repositories in the project.

  1. Go to the homepage of the Test_Project project.
  2. In the left navigation pane, choose Settings > Security Management > Member Sync.
  3. As shown in the following figure, select the roles to be synchronized and enable Sync project members. The project members of the selected roles will be automatically synchronized to the repository group and repository. To synchronize all roles, go to 4.

    If Sync project members is disabled, members will not be synchronized. You can click Refresh to trigger a full synchronization manually.

    Automatic sync of updated project members is triggered only when Sync project members is enabled.

  4. Sync all roles is enabled by default. All roles in the project are automatically synchronized, including custom roles added later.

Manually Adding Project Members to a Repository Group or Repository

  1. Use an account with repository setting permissions to go to the repository group or repository homepage, click the Members tab, and click Add Member. The page for adding members is displayed.
  2. On the Members tab page, search for the member to be added by user nickname or username, select the member, and click OK to add the member to the repository group or repository.

    You can also select a member group from the Member Group drop-down list box.

Managing Repository Member Roles

A project member can have multiple roles in a repository. However, a user can set a maximum of 5 repository roles in a repository.

  1. As shown in the following figure, go to the homepage of the repository Test_Repo to be configured, click Settings in the top navigation bar, and choose Security Management > Permissions in the left navigation pane. Click Member. The permission tab page of members is displayed.

  2. As shown in the preceding figure, if you have the modify permission on members, you can configure roles for repository members.
  3. Users with the modify permission can click Members in the top navigation bar. On the current page, click in the row to configure multiple roles. A user can be configured with a maximum of five repository roles.