Skip to content
Snippets Groups Projects
Verified Commit dc09e7a0 authored by Rémy Coutable's avatar Rémy Coutable
Browse files

Fix wrong conflict resolution


The EE version of the protected branches JS doesn't take a label...

We should really reduce the disrepancies between CE and EE for this
feature.

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent e8a6e7c1
No related branches found
No related tags found
1 merge request!1218CE Upstream - Friday
Pipeline #
Loading
Loading
@@ -69,12 +69,8 @@ def load_protected_branches
 
def access_levels_options
{
push_access_levels: {
"Roles" => ProtectedBranch::PushAccessLevel.human_access_levels.map { |id, text| { id: id, text: text, before_divider: true } },
},
merge_access_levels: {
"Roles" => ProtectedBranch::MergeAccessLevel.human_access_levels.map { |id, text| { id: id, text: text, before_divider: true } }
}
push_access_levels: ProtectedBranch::PushAccessLevel.human_access_levels.map { |id, text| { id: id, text: text, before_divider: true } },
merge_access_levels: ProtectedBranch::MergeAccessLevel.human_access_levels.map { |id, text| { id: id, text: text, before_divider: true } }
}
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment