From 3bb3a6886f3b206a2ec089d6b1e8854615daa0b8 Mon Sep 17 00:00:00 2001 From: James Edwards-Jones Date: Tue, 4 Apr 2017 02:19:04 +0100 Subject: Attempt to fix import/export of push_access_levels for protected tags --- spec/lib/gitlab/import_export/all_models.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'spec/lib/gitlab/import_export/all_models.yml') diff --git a/spec/lib/gitlab/import_export/all_models.yml b/spec/lib/gitlab/import_export/all_models.yml index ddeb71730e7..83503c73e75 100644 --- a/spec/lib/gitlab/import_export/all_models.yml +++ b/spec/lib/gitlab/import_export/all_models.yml @@ -111,10 +111,14 @@ protected_branches: - project - merge_access_levels - push_access_levels +protected_tags: +- project +- push_access_levels merge_access_levels: - protected_branch push_access_levels: - protected_branch +- protected_tag project: - taggings - base_tags @@ -169,6 +173,7 @@ project: - snippets - hooks - protected_branches +- protected_tags - project_members - users - requesters -- cgit v1.2.1 From 07d7d8e65905a39164b63f55eccdcea8f10f5d14 Mon Sep 17 00:00:00 2001 From: James Edwards-Jones Date: Tue, 4 Apr 2017 03:37:22 +0100 Subject: Renamed ProtectedTag push_access_levels to create_access_levels --- spec/lib/gitlab/import_export/all_models.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'spec/lib/gitlab/import_export/all_models.yml') diff --git a/spec/lib/gitlab/import_export/all_models.yml b/spec/lib/gitlab/import_export/all_models.yml index 83503c73e75..53cfd674b02 100644 --- a/spec/lib/gitlab/import_export/all_models.yml +++ b/spec/lib/gitlab/import_export/all_models.yml @@ -113,11 +113,12 @@ protected_branches: - push_access_levels protected_tags: - project -- push_access_levels +- create_access_levels merge_access_levels: - protected_branch push_access_levels: - protected_branch +create_access_levels: - protected_tag project: - taggings -- cgit v1.2.1