Help Center/ CodeArts Artifact/ User Guide/ Self-Hosted Repos 2.0/ Configuring Repository Permissions 2.0
Updated on 2024-10-16 GMT+08:00

Configuring Repository Permissions 2.0

Managing Repository Permissions

After a repository is created, the mapping between project members and repository roles is as follows:

  • The project creator and project manager are repository administrators.
  • The developer, test manager, tester, and operation manager are repository developers.
  • The participant, viewer, and custom roles are repository viewers.

To add or remove permissions for self-hosted repo members, perform the following steps:

  1. Go to the self-hosted repo page and select the target repository from the list.
  2. Click Settings on the right of the page.
  3. Click the Repository Permissions tab. The added repository members are displayed in the list.

  4. Add members.

    Click Add Members in the upper left corner, select a member, and click Next.

  5. Assign roles to members.

    Select Repository Administrator, Repository Developer, or Repository Viewer from the Repository Roles drop-down list.

  6. Click OK. The member is added and the role is configured. The new member is displayed in the list.
  7. In the member list, select multiple members and click Repository Roles to configure their roles in batches.

    The following table lists the operation permissions of each repository role.

    Operation/Role

    Tenant administrator

    Non-tenant administrator

    Repository administrator

    Developer

    Viewer

    Repository administrator

    Developer

    Viewer

    Create a repository

    ×

    ×

    ×

    Edit a repository

    ×

    ×

    ×

    Manage the association between repositories and projects

    ×

    ×

    ×

    Upload a component

    ×

    ×

    Download a component

    Delete components

    ×

    ×

    Restore components

    ×

    ×

    Permanently delete a component

    ×

    ×

    Delete a repository

    ×

    ×

    ×

    ×

    ×

    Restore a repository

    ×

    ×

    Permanently delete a repository

    ×

    ×

    ×

    ×

    ×

    Clear all

    ×

    ×

    ×

    Restore all

    ×

    ×

    ×

    Manage user permissions

    ×

    ×