summaryrefslogtreecommitdiff
path: root/spec/lib
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-09-21 13:01:46 +0200
committerJames Lopez <james@jameslopez.es>2016-09-21 14:36:28 +0200
commitce48a595b04ba682409dd55a6272c8dd9a8553f3 (patch)
tree811e2591e2b7ace9f376e42a18a6ec7b17ce7093 /spec/lib
parenta25ac8a89b839653e469693d77b931b158731cca (diff)
downloadgitlab-ce-ce48a595b04ba682409dd55a6272c8dd9a8553f3.tar.gz
fixing security specs after merge
Diffstat (limited to 'spec/lib')
-rw-r--r--spec/lib/gitlab/import_export/all_models.yml8
-rw-r--r--spec/lib/gitlab/import_export/safe_model_attributes.yml15
2 files changed, 22 insertions, 1 deletions
diff --git a/spec/lib/gitlab/import_export/all_models.yml b/spec/lib/gitlab/import_export/all_models.yml
index 30968ba2d5f..2d8d1bb441c 100644
--- a/spec/lib/gitlab/import_export/all_models.yml
+++ b/spec/lib/gitlab/import_export/all_models.yml
@@ -13,6 +13,8 @@ issues:
- user_agent_detail
- moved_to
- events
+- merge_requests_closing_issues
+- metrics
events:
- author
- project
@@ -71,6 +73,8 @@ merge_requests:
- merge_request_diffs
- merge_request_diff
- events
+- merge_requests_closing_issues
+- metrics
merge_request_diff:
- merge_request
pipelines:
@@ -101,6 +105,10 @@ protected_branches:
- project
- merge_access_levels
- push_access_levels
+merge_access_levels:
+- protected_branch
+push_access_levels:
+- protected_branch
project:
- taggings
- base_tags
diff --git a/spec/lib/gitlab/import_export/safe_model_attributes.yml b/spec/lib/gitlab/import_export/safe_model_attributes.yml
index f2d272ca7e2..7efe14545b5 100644
--- a/spec/lib/gitlab/import_export/safe_model_attributes.yml
+++ b/spec/lib/gitlab/import_export/safe_model_attributes.yml
@@ -214,6 +214,7 @@ CommitStatus:
- when
- yaml_variables
- queued_at
+- token
Ci::Variable:
- id
- project_id
@@ -307,4 +308,16 @@ ProjectFeature:
- snippets_access_level
- builds_access_level
- created_at
-- updated_at \ No newline at end of file
+- updated_at
+ProtectedBranch::MergeAccessLevel:
+- id
+- protected_branch_id
+- access_level
+- created_at
+- updated_at
+ProtectedBranch::PushAccessLevel:
+- id
+- protected_branch_id
+- access_level
+- created_at
+- updated_at