提交 ef0df760 编写于 作者: J Jan Provaznik 提交者: Jarka Kadlecová

Minor syntax fix

上级 6f8ececc
......@@ -87,8 +87,7 @@ class Group < Namespace
def public_or_visible_to_user(user)
where('id IN (?) OR namespaces.visibility_level IN (?)',
user.authorized_groups.select(:id),
Gitlab::VisibilityLevel.levels_for_user(user)
)
Gitlab::VisibilityLevel.levels_for_user(user))
end
def select_for_project_authorization
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册