提交 cf042068 编写于 作者: G Grzegorz Bizon

Do not allow registry requests for invalid repositories

上级 fffc8a59
......@@ -64,6 +64,10 @@ module Auth
end
def process_repository_access(type, path, actions)
# TODO, add specs for invalid paths
#
return unless path.valid?
requested_project = path.repository_project
return unless requested_project
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册