summaryrefslogtreecommitdiff
path: root/app/models/concerns/project_features_compatibility.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/concerns/project_features_compatibility.rb')
-rw-r--r--app/models/concerns/project_features_compatibility.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/models/concerns/project_features_compatibility.rb b/app/models/concerns/project_features_compatibility.rb
index b69fb2931c3..07bec07e556 100644
--- a/app/models/concerns/project_features_compatibility.rb
+++ b/app/models/concerns/project_features_compatibility.rb
@@ -70,6 +70,14 @@ module ProjectFeaturesCompatibility
write_feature_attribute_string(:metrics_dashboard_access_level, value)
end
+ def analytics_access_level=(value)
+ write_feature_attribute_string(:analytics_access_level, value)
+ end
+
+ def operations_access_level=(value)
+ write_feature_attribute_string(:operations_access_level, value)
+ end
+
private
def write_feature_attribute_boolean(field, value)