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/models/concerns/project_features_compatibility.rb')
-rw-r--r--app/models/concerns/project_features_compatibility.rb4
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 551a2e56ecf..eac676f30a5 100644
--- a/app/models/concerns/project_features_compatibility.rb
+++ b/app/models/concerns/project_features_compatibility.rb
@@ -50,6 +50,10 @@ module ProjectFeaturesCompatibility
write_feature_attribute_string(:merge_requests_access_level, value)
end
+ def forking_access_level=(value)
+ write_feature_attribute_string(:forking_access_level, value)
+ end
+
def issues_access_level=(value)
write_feature_attribute_string(:issues_access_level, value)
end