Home  >  Article  >  Development Tools  >  What are the types of git permissions?

What are the types of git permissions?

青灯夜游
青灯夜游Original
2021-11-29 15:47:4613399browse

There are 5 types of git permissions: 1. Guest, can create issues and post comments; 2. Reporter, can clone code, but cannot submit; 3. Developer, can clone code, submit, etc.; 4. Master, You can create projects, add tags, etc.; 5. Owner, you can set project access permissions.

What are the types of git permissions?

The operating environment of this tutorial: Windows 7 system, Git version 2.30.0, Dell G3 computer.

In addition to Git commands, permission control is also an extremely important part of Git.

Gitlab users have five permissions in the group: Guest, Reporter, Developer, Master, and Owner.

  • Guest: Can create issues and post comments, but cannot read and write the repository

  • Reporter: Can clone code, cannot submit, QA, PM This permission can be granted

  • Developer: can clone code, develop, submit, push, RD can give this permission

  • Master: can create projects , add tags, protect branches, add project members, edit projects, the core RD leader can grant this permission

  • Owner: Can set project access permissions - Visibility Level, delete projects, migrate projects , management group members, development group leader can grant this permission

    Groups and projects have three access permissions:

    • Private: only group members can see

    • Internal: Only logged in users can see it

    • Public: Everyone can see it

corresponds to the five roles in Git:

Each role has different permissions, as shown below:

What we need to do is to assign appropriate roles to project members to limit their permissions.

Recommended study: "Git Tutorial"

The above is the detailed content of What are the types of git permissions?. 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