diff options
Diffstat (limited to 'app/policies/namespaces/project_namespace_policy.rb')
-rw-r--r-- | app/policies/namespaces/project_namespace_policy.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/policies/namespaces/project_namespace_policy.rb b/app/policies/namespaces/project_namespace_policy.rb new file mode 100644 index 00000000000..bc08a7a45ed --- /dev/null +++ b/app/policies/namespaces/project_namespace_policy.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +module Namespaces + class ProjectNamespacePolicy < BasePolicy + # For now users are not granted any permissions on project namespace + # as it's completely hidden to them. When we start using project + # namespaces in queries, we will have to extend this policy. + end +end |