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 ...@@ -90,8 +90,7 @@ class Group < Namespace
where( where(
'id IN (?) OR namespaces.visibility_level IN (?)', 'id IN (?) OR namespaces.visibility_level IN (?)',
user.authorized_groups.select(:id), user.authorized_groups.select(:id),
Gitlab::VisibilityLevel.levels_for_user(user) Gitlab::VisibilityLevel.levels_for_user(user))
)
end end
def select_for_project_authorization 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