Commit 23e2c08d authored by Jan Provaznik's avatar Jan Provaznik Committed by Jarka Kadlecová

Minor syntax fix

parent 7800f992
......@@ -90,8 +90,7 @@ class Group < Namespace
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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment