Gitee is a very popular open source code hosting platform that provides developers with a platform where they can share and maintain their code base. Many open source communities and personal projects use Gitee to manage their code. However, for new users who have not used Gitee, how to set up Gitee permissions can be a challenging task. This article will introduce you to the methods and steps of setting Gitee permissions.
1. Log in to your Gitee account
First, you need to log in to your Gitee account, and then select the warehouse for which you want to set permissions. Click on the repository name and you will be taken to the repository's home page.
2. Open the project settings
On the homepage of the warehouse, you need to find the "Settings" button at the top. Click this button and you will open the project settings page. On this page, you can change the project's settings, including the project's name, description, access rights, administrators, and collaborators.
3. Set project permissions
In the project settings page, you need to find the "Permissions" tab and click it. In the Permissions tab, you can set different levels of permissions for the project.
1. Warehouse access permissions
Warehouse access permissions are used to control which users can access the code base. You can set repository access to public or private. If you want your codebase to be viewable and accessible to everyone, you can set it to public. However, if you only want certain people to see and access your code base, you can set it to private.
2. Merge request review permissions
Merge request review permissions are used to control who has the authority to review and approve merge requests for this code base. You can designate one or more people to review and approve merge requests, or you can allow everyone to review and approve merge requests.
3. Branch permissions
Branch permissions are used to control who has the right to commit and push branch changes. You can set different permission levels for each branch. For example, you can allow certain people to commit branch changes, while others can only view branch changes.
4. Save changes
After you complete the above changes, make sure to click the "Save" button at the bottom of the page to save your changes. Your new settings take effect immediately for this project.
Summary
Although setting Gitee permissions may seem complicated, as long as you follow the above steps, you can easily control and manage your project. It will take some time and patience on your part, but the added protection and security you'll gain is worth it. If you encounter any problems when setting permissions, you can always refer to Gitee's help documentation or contact technical support for help.
The above is the detailed content of Where are the gitee permission settings?. For more information, please follow other related articles on the PHP Chinese website!