summaryrefslogtreecommitdiff
path: root/app/models
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-03-29 23:48:05 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2023-03-29 23:48:05 +0000
commit3dd03a1a19e6b788ec1296044e28f7727e5149a6 (patch)
tree133f13a2c5bb0fbb7cc5706487b91134194b3870 /app/models
parent096459e2c2c8e3c17eb6e677091990adffe9af7d (diff)
downloadgitlab-ce-3dd03a1a19e6b788ec1296044e28f7727e5149a6.tar.gz
Add latest changes from gitlab-org/security/gitlab@15-10-stable-ee
Diffstat (limited to 'app/models')
-rw-r--r--app/models/project_feature.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/models/project_feature.rb b/app/models/project_feature.rb
index 053ccfac050..52e623db7b0 100644
--- a/app/models/project_feature.rb
+++ b/app/models/project_feature.rb
@@ -36,7 +36,8 @@ class ProjectFeature < ApplicationRecord
merge_requests: Gitlab::Access::REPORTER,
metrics_dashboard: Gitlab::Access::REPORTER,
container_registry: Gitlab::Access::REPORTER,
- package_registry: Gitlab::Access::REPORTER
+ package_registry: Gitlab::Access::REPORTER,
+ environments: Gitlab::Access::REPORTER
}.freeze
PRIVATE_FEATURES_MIN_ACCESS_LEVEL_FOR_PRIVATE_PROJECT = { repository: Gitlab::Access::REPORTER }.freeze