Commit 3bb3a688 authored by James Edwards-Jones's avatar James Edwards-Jones

Attempt to fix import/export of push_access_levels for protected tags

parent 1e15444a
......@@ -46,6 +46,8 @@ project_tree:
- protected_branches:
- :merge_access_levels
- :push_access_levels
- protected_tags:
- :push_access_levels
- :project_feature
# Only include the following attributes for the models specified.
......
......@@ -7,8 +7,9 @@ module Gitlab
triggers: 'Ci::Trigger',
builds: 'Ci::Build',
hooks: 'ProjectHook',
merge_access_levels: 'ProtectedBranch::MergeAccessLevel', #TODO: Tags
merge_access_levels: 'ProtectedBranch::MergeAccessLevel',
push_access_levels: 'ProtectedBranch::PushAccessLevel',
#TODO: How to add?- push_access_levels: 'ProtectedTag::PushAccessLevel',
labels: :project_labels,
priorities: :label_priorities,
label: :project_label }.freeze
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment