GitLab提供项目访问级别" Guest"," Reporter"," Developer"和#34;硕士"对于"团队成员"与特定项目合作。
"万事达"和"访客"是不言自明的,但其他人在他们的范围和粒度上都不是很清楚。这些级别有什么区别?
答案 0 :(得分:32)
2013:project_security_spec.rb
测试每个配置文件功能,这些功能列在ability.rb
中:
(2017 GitLab 10.x:app/policies/project_policy.rb
)更有可能
这些规则非常明确:
def public_project_rules
[
:download_code,
:fork_project,
:read_project,
:read_wiki,
:read_issue,
:read_milestone,
:read_project_snippet,
:read_team_member,
:read_merge_request,
:read_note,
:write_issue,
:write_note
]
end
def project_guest_rules
[
:read_project,
:read_wiki,
:read_issue,
:read_milestone,
:read_project_snippet,
:read_team_member,
:read_merge_request,
:read_note,
:write_project,
:write_issue,
:write_note
]
end
def project_report_rules
project_guest_rules + [
:download_code,
:fork_project,
:write_project_snippet
]
end
def project_dev_rules
project_report_rules + [
:write_merge_request,
:write_wiki,
:push_code
]
end
这意味着:
答案 1 :(得分:17)
目前,访问级别已在此处详细记录:http://doc.gitlab.com/ce/permissions/permissions.html
答案 2 :(得分:1)
This page 来自 gitlab 官网,展示了项目中不同级别参与者的权限。