Commit 5ec84b6a authored by James Edwards-Jones's avatar James Edwards-Jones

Attempt to fix import/export of push_access_levels for protected tags

parent 63422647
......@@ -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
......
......@@ -116,6 +116,9 @@ protected_branches:
- project
- merge_access_levels
- push_access_levels
protected_tags:
- project
- push_access_levels
merge_access_levels:
- user
- protected_branch
......@@ -123,6 +126,7 @@ merge_access_levels:
push_access_levels:
- user
- protected_branch
- protected_tag
- group
project:
- taggings
......@@ -178,6 +182,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