b0bf92140f
Ensure external users are not able to clone disabled repositories. Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/23788 See merge request !2017 Signed-off-by: Rémy Coutable <remy@rymai.me>
7 lines
121 B
Ruby
7 lines
121 B
Ruby
class Guest
|
|
class << self
|
|
def can?(action, subject)
|
|
Ability.allowed?(nil, action, subject)
|
|
end
|
|
end
|
|
end
|