Enable configurable 'maxBatchChanges' limit
One use case is when a group is responsible for importing
large batches of changes delivered from external partners,
and those changes all require review. This group, and only
this group, should be allowed to bypass the limit that is
enforced for everyone else.
Allow site administrators to configure the 'maxBatchChanges'
limit for users from global capability UI of All-Projects
access. The min box does not make sense if its value is not 0,
so disable it after giving it the default value of 0.
The effective limit value will be the capability value if it
exists, or the value in gerrit.config if it exists, or else
no limit.
Change-Id: Ic929dc4a89cc8ccbd098035ce2ceac4f22fd54da
9 files changed