From 9528a417c746d1c5a846594dd2d067cb0282a99e Mon Sep 17 00:00:00 2001 From: Joe Woodward <jwoodward@gitlab.com> Date: Thu, 25 May 2023 16:14:47 +0000 Subject: [PATCH] Revise for extra emphasis Make super clear about the most permissive rule. --- doc/user/project/protected_branches.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/user/project/protected_branches.md b/doc/user/project/protected_branches.md index 3255c38fd253e..ec0a196724677 100644 --- a/doc/user/project/protected_branches.md +++ b/doc/user/project/protected_branches.md @@ -135,9 +135,10 @@ The protected branch is added to the list of protected branches. ## Configure multiple protected branches by using a wildcard -If both a specific rule and a wildcard rule apply to the same branch, the most -permissive rule controls how the branch behaves. For merge controls to work properly, -set **Allowed to push and merge** to a broader set of users than **Allowed to merge**. +When using wildcards, multiple rules can apply to a single branch. +If more than one rule applies to a branch, the _most permissive_ rule controls +how the branch behaves. For merge controls to work properly, set +**Allowed to push and merge** to a broader set of users than **Allowed to merge**. Prerequisite: -- GitLab