summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhaseeb <haseebeqx@yahoo.com>2018-03-01 18:40:33 +0530
committerhaseeb <haseebeqx@yahoo.com>2018-03-01 18:40:33 +0530
commit93e7c353eba714108b058f6621eca466b4a61607 (patch)
tree85d46fe974b50adb142fea81b20fa054316054a6
parent1dd577e69b434df4b1dcf04d5b3805ee0e9ce46e (diff)
downloadgitlab-ce-93e7c353eba714108b058f6621eca466b4a61607.tar.gz
closedby_id added to safe attributes
-rw-r--r--lib/gitlab/import_export/relation_factory.rb2
-rw-r--r--spec/lib/gitlab/import_export/safe_model_attributes.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/import_export/relation_factory.rb b/lib/gitlab/import_export/relation_factory.rb
index 759833a5ee5..d372e01a3ad 100644
--- a/lib/gitlab/import_export/relation_factory.rb
+++ b/lib/gitlab/import_export/relation_factory.rb
@@ -18,7 +18,7 @@ module Gitlab
label: :project_label,
custom_attributes: 'ProjectCustomAttribute' }.freeze
- USER_REFERENCES = %w[author_id assignee_id updated_by_id user_id created_by_id last_edited_by_id merge_user_id resolved_by_id].freeze
+ USER_REFERENCES = %w[author_id assignee_id updated_by_id user_id created_by_id last_edited_by_id merge_user_id resolved_by_id closed_by_id].freeze
PROJECT_REFERENCES = %w[project_id source_project_id target_project_id].freeze
diff --git a/spec/lib/gitlab/import_export/safe_model_attributes.yml b/spec/lib/gitlab/import_export/safe_model_attributes.yml
index 337686eccc4..2da0bf1c478 100644
--- a/spec/lib/gitlab/import_export/safe_model_attributes.yml
+++ b/spec/lib/gitlab/import_export/safe_model_attributes.yml
@@ -15,7 +15,7 @@ Issue:
- updated_by_id
- confidential
- closed_at
-- closed_by
+- closed_by_id
- due_date
- moved_to_id
- lock_version