Home  >  Article  >  Development Tools  >  What are gitee permissions? How to set it up?

What are gitee permissions? How to set it up?

PHPz
PHPzOriginal
2023-03-31 09:04:453360browse

Gitee is a Git-based code hosting platform, similar to GitHub, but it is mainly aimed at Chinese users, so it is very popular in the Chinese developer circle. On Gitee, users can create code repositories, upload code, manage code versions, view code history, etc., and can also perform collaborative development, release code and other operations.

Permissions are a very important concept when using Gitee. Each project has its own permission settings, which can control the access, editing, publishing and other operations of project members. This article will introduce Gitee's permissions and how to set permissions.

1. Gitee permission classification

Gitee permissions are divided into the following levels:

1. Project owner

The project owner refers to the person who created The user of the project has the highest authority for the project and can perform all operations on the project, including adding, deleting members, modifying permissions, publishing code, deleting code, etc.

2. Administrators

Administrators are a group of users designated by the project owner. They can perform most operations on the project, but cannot delete the project owner and other administrators.

3. Participants

Participants refer to users who are added as members of the project. They can view, modify and submit code for the project, but do not have the ability to modify project permissions.

4. Visitors

Visitors refer to users who have not been added as members of the project. They can only view the code of the project and cannot make any modifications.

2. Gitee permission settings

Gitee permission settings are very flexible. The platform provides a variety of ways to set permissions. Below we will introduce the two main permission setting methods.

1. Project settings page

In the project settings page, users can set the basic information of the project, as well as the members of the project and their permissions. The specific operations are as follows:

(1) Open the project page and click the "Settings" button on the right to enter the project settings page.

(2) Select "Members" in the left menu to see all current project members. Here you can add or delete members, and modify members' permissions.

(3) In terms of permission settings, Gitee provides three permission setting methods: basic, advanced, and custom. Users can choose different permission setting methods according to their needs for personalized permission control.

2. Warehouse management page

On the warehouse management page, users can add or delete code warehouses, and also set warehouse members and member permissions. The specific operations are as follows:

(1) Open the warehouse page and select the "Settings" tab to enter the warehouse settings page.

(2) Select "Partners" in the left menu to see all current project members. Here you can add or delete members, and modify members' permissions.

(3) In terms of permission settings, Gitee provides four permission setting methods: read-only, write, pull, and manage. Users can choose different permission setting methods according to their needs for personalized permission control.

It should be noted that deleting permissions, deleting members, and deleting warehouses are very dangerous operations and should be performed with caution.

3. Summary

Permission setting is a very important concept in Gitee. Properly setting permissions can help us better manage code and improve code security. At the same time, Gitee's permission settings are very flexible. Users can choose different permission setting methods according to their needs for personalized permission control.

The above is the detailed content of What are gitee permissions? How to set it up?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn