diff options
Diffstat (limited to 'app/models/concerns/project_features_compatibility.rb')
-rw-r--r-- | app/models/concerns/project_features_compatibility.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/concerns/project_features_compatibility.rb b/app/models/concerns/project_features_compatibility.rb index 2976b6f02a7..d37f20e2e7c 100644 --- a/app/models/concerns/project_features_compatibility.rb +++ b/app/models/concerns/project_features_compatibility.rb @@ -110,6 +110,10 @@ module ProjectFeaturesCompatibility write_feature_attribute_string(:releases_access_level, value) end + def infrastructure_access_level=(value) + write_feature_attribute_string(:infrastructure_access_level, value) + end + # TODO: Remove this method after we drop support for project create/edit APIs to set the # container_registry_enabled attribute. They can instead set the container_registry_access_level # attribute. |