gitlab权限设置

gitLab安装可以参考上一篇:https://blog.csdn.net/vtopqx/article/details/80859962

之后需要进行相应的成员权限设置,权限主要包括几个基础的,

1、添加成员;

2、给成员设置分支权限;

1) 用管理员登录

2) 选择项目test进入Settings=>Members成员管理

添加成员选择相应的Role“角色”

3)设置用户分支权限

在Settings中选择Respository=>Protected Branches进行设置:

主要根据角色来设置分支的操作权限:

以上除了设置单个成员权限之外,还可以通过Group组的方式设置,点击左上角工具图标进入相应设置:

备注:角色说明:

具体参考官网角色说明:

http://doc.gitlab.com/ee/permissions/permissions.html

 

Note: In GitLab 11.0, the Master role was renamed to Maintainer.

The following table depicts the various user permission levels in a project.

ActionGuestReporterDeveloperMaintainerOwner
Create new issue✓ 1
Create confidential issue✓ 1
View confidential issues(✓) 2
Leave comments✓ 1
See related issues
See a list of jobs✓ 3
See a job log✓ 3
Download and browse job artifacts✓ 3
View wiki pages✓ 1
Create and edit wiki pages  
Delete wiki pages   
View license management reports✓ 1
View Security reports✓ 1
View project code1
Pull project code1
Download project1
Assign issues 
Assign merge requests  
Label issues 
Label merge requests  
Create code snippets 
Manage issue tracker 
Manage labels 
See a commit status 
See a container registry 
See environments 
See a list of merge requests 
Manage related issues 
Lock issue discussions 
Create issue from vulnerability 
View Error Tracking list 
Pull from Maven repository or NPM registry 
Publish to Maven repository or NPM registry  
Lock merge request discussions  
Create new environments  
Stop environments  
Manage/Accept merge requests  
Create new merge request  
Create new branches  
Push to non-protected branches  
Force push to non-protected branches  
Remove non-protected branches  
Add tags  
Cancel and retry jobs  
Create or update commit status  
Update a container registry  
Remove a container registry image  
Create/edit/delete project milestones  
View approved/blacklisted licenses
Use security dashboard  
Dismiss vulnerability  
Apply code change suggestions  
Use environment terminals   
Run Web IDE’s Interactive Web Terminals   
Add new team members   
Push to protected branches   
Enable/disable branch protection   
Turn on/off protected branch push for devs   
Enable/disable tag protections   
Rewrite/remove Git tags   
Edit project   
Add deploy keys to project   
Configure project hooks   
Manage Runners   
Manage job triggers   
Manage variables   
Manage GitLab Pages   
Manage GitLab Pages domains and certificates   
Remove GitLab Pages   
View GitLab Pages protected by access control
Manage clusters   
Manage license policy   
Edit comments (posted by any user)   
Manage Error Tracking   
Switch visibility level    
Transfer project to another namespace    
Remove project    
Delete issues    
Force push to protected branches 4     
Remove protected branches 4     
View project Audit Events   
View project statistics 
View Insights charts

Project features permissions


--------------------- 
作者:漫天雪_昆仑巅 
来源:CSDN 
原文:https://blog.csdn.net/vtopqx/article/details/80883012 
版权声明:本文为博主原创文章,转载请附上博文链接!

转载于:https://my.oschina.net/u/4000302/blog/3032566

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值