Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/policies/namespaces/user_namespace_policy.rb')
-rw-r--r--app/policies/namespaces/user_namespace_policy.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/policies/namespaces/user_namespace_policy.rb b/app/policies/namespaces/user_namespace_policy.rb
index 09b0f5d608d..028247497e5 100644
--- a/app/policies/namespaces/user_namespace_policy.rb
+++ b/app/policies/namespaces/user_namespace_policy.rb
@@ -14,8 +14,7 @@ module Namespaces
enable :read_namespace
enable :read_statistics
enable :create_jira_connect_subscription
- enable :create_package_settings
- enable :read_package_settings
+ enable :admin_package
end
rule { ~can_create_personal_project }.prevent :create_projects