Add project config boolean to require signed push on a project
This is controlled by receive.requireSignedPush in the project.config, which is a separate bit from receive.enableSignedPush. (Adding an inheritable tri-state enum would have been complex to implement and have hard-to-define semantics.) requireSignedPush is only inspected if enableSignedPush is true; this allows project owners to temporarily disable signed push entirely e.g. due to a bug, without having to flip both bits. Change-Id: I07999b6fa185d470b30509941473e3158f9dfa2c
This commit is contained in:
@@ -164,6 +164,17 @@ configuration] for details.
|
||||
Default is `INHERIT`, which means that this property is inherited from
|
||||
the parent project.
|
||||
|
||||
[[receive.requireSignedPush]]receive.requireSignedPush::
|
||||
+
|
||||
Controls whether server-side signed push validation is required on the
|
||||
project. Only has an effect if signed push validation is enabled on the
|
||||
server, and link:#receive.enableSignedPush is set on the project. See
|
||||
the link:config-gerrit.html#receive.enableSignedPush[global
|
||||
configuration] for details.
|
||||
+
|
||||
Default is `INHERIT`, which means that this property is inherited from
|
||||
the parent project.
|
||||
|
||||
[[submit-section]]
|
||||
=== Submit section
|
||||
|
||||
|
||||
Reference in New Issue
Block a user