Skip to content
代码片段 群组 项目
提交 0d34cf28 编辑于 作者: Bob Van Landuyt's avatar Bob Van Landuyt
浏览文件

Merge branch 'ajk-user-access-can-read-project' into 'master'

Remove unused method UserAccess#can_read_project?

See merge request gitlab-org/gitlab!35950
No related branches found
No related tags found
无相关合并请求
......@@ -92,12 +92,6 @@ def can_update_branch?(ref)
end
end
def can_read_project?
return false unless can_access_git?
user.can?(:read_project, project)
end
private
def permission_cache
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册