diff options
Diffstat (limited to 'app/policies/namespace_policy.rb')
-rw-r--r-- | app/policies/namespace_policy.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/policies/namespace_policy.rb b/app/policies/namespace_policy.rb index 92213f0155e..eb01218eb0a 100644 --- a/app/policies/namespace_policy.rb +++ b/app/policies/namespace_policy.rb @@ -8,6 +8,7 @@ class NamespacePolicy < BasePolicy rule { owner | admin }.policy do enable :create_projects enable :admin_namespace + enable :read_namespace end rule { personal_project & ~can_create_personal_project }.prevent :create_projects |