From e5f64037957751d7eef2d0cf3bc90d96fbd89679 Mon Sep 17 00:00:00 2001 From: Patrick Hiesel Date: Fri, 29 Mar 2019 09:54:39 +0100 Subject: [PATCH] State that ForgeAuthor can bypass NonAuthorCodeReview Change-Id: I8283531b956977951d698d4ed0be317e6efbc23f --- Documentation/prolog-cookbook.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Documentation/prolog-cookbook.txt b/Documentation/prolog-cookbook.txt index e6cd82269c..9a23a27b36 100644 --- a/Documentation/prolog-cookbook.txt +++ b/Documentation/prolog-cookbook.txt @@ -725,6 +725,9 @@ is no non author `Code-Review+2`. The second rule will only be reached if the `cut` in the first rule is not reached and it only happens if a predicate before the `cut` fails. +This fact can be bypassed by users who have +link:access-control.html#category_forge_author[Forge Author] permission. + ==== Don't use `gerrit:default_submit` Let's implement the same submit rule the other way, without reusing the `gerrit:default_submit`: