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')
-rw-r--r--app/policies/project_policy.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/policies/project_policy.rb b/app/policies/project_policy.rb
index 8b6286c5a4a..e9839d752a6 100644
--- a/app/policies/project_policy.rb
+++ b/app/policies/project_policy.rb
@@ -414,6 +414,7 @@ class ProjectPolicy < BasePolicy
prevent(:read_pod_logs)
prevent(:read_prometheus)
prevent(:admin_project_google_cloud)
+ prevent(:admin_project_aws)
end
rule { infrastructure_disabled | terraform_state_disabled }.policy do
@@ -540,6 +541,7 @@ class ProjectPolicy < BasePolicy
enable :create_project_runners
enable :update_runners_registration_token
enable :admin_project_google_cloud
+ enable :admin_project_aws
enable :admin_secure_files
enable :read_upload
enable :destroy_upload