diff options
Diffstat (limited to 'app/finders/personal_projects_finder.rb')
-rw-r--r-- | app/finders/personal_projects_finder.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/finders/personal_projects_finder.rb b/app/finders/personal_projects_finder.rb index e7094d73905..a01465a64d2 100644 --- a/app/finders/personal_projects_finder.rb +++ b/app/finders/personal_projects_finder.rb @@ -28,6 +28,7 @@ class PersonalProjectsFinder < UnionFinder private def all_projects(current_user) + return [@user.personal_projects] if current_user && current_user.can_read_all_resources? return [projects_with_min_access_level(current_user)] if current_user && min_access_level? projects = [] |