diff options
Diffstat (limited to 'app/models/project_feature.rb')
-rw-r--r-- | app/models/project_feature.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/models/project_feature.rb b/app/models/project_feature.rb index 36f1e09b2ba..fa19ffe86da 100644 --- a/app/models/project_feature.rb +++ b/app/models/project_feature.rb @@ -27,9 +27,10 @@ class ProjectFeature < ApplicationRecord releases infrastructure model_experiments + model_registry ].freeze - EXPORTABLE_FEATURES = (FEATURES - [:security_and_compliance, :pages]).freeze + EXPORTABLE_FEATURES = (FEATURES - [:security_and_compliance, :pages, :metrics_dashboard]).freeze set_available_features(FEATURES) @@ -81,6 +82,7 @@ class ProjectFeature < ApplicationRecord attribute :feature_flags_access_level, default: ENABLED attribute :environments_access_level, default: ENABLED attribute :model_experiments_access_level, default: ENABLED + attribute :model_registry_access_level, default: ENABLED attribute :package_registry_access_level, default: -> do if ::Gitlab.config.packages.enabled |