Declare "role/configs.validator" binding.
It defines who is allowed to call LUCI Config validation API to validate this LUCI project's configs. This is usually done by presubmit jobs, and thus configs.validator role is assigned to try job task accounts. Previously this ACL was defined in the global "config-validation" group. It is deprecated and being replaced with per-project ACLs defined in per-project configs (like in this CL). There's still a global ACL to allow any googler to call the validation API in any LUCI project they are allowed to see. Thus the per-project binding applies only to service accounts (they are not googlers). Note: this CL was generated semi-automatically and reviewers are picked automatically based on OWNERS file. BUG=chromium:1068817 Change-Id: Iec55d5e4ea7325406a1f3dd1f9fef598ec5ad29a Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/69181 Auto-Submit: Vadim Shtayura <vadimsh@google.com> Kokoro: Kokoro <noreply+kokoro@google.com> Reviewed-by: Ben Clayton <bclayton@google.com> Reviewed-by: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
parent
2fe0f4b42b
commit
90eb5aa292
|
@ -7,7 +7,7 @@
|
|||
name: "tint"
|
||||
access: "group:all"
|
||||
lucicfg {
|
||||
version: "1.29.1"
|
||||
version: "1.30.1"
|
||||
package_dir: ".."
|
||||
config_dir: "generated"
|
||||
entry_point: "main.star"
|
||||
|
|
|
@ -14,6 +14,10 @@ realms {
|
|||
role: "role/configs.reader"
|
||||
principals: "group:all"
|
||||
}
|
||||
bindings {
|
||||
role: "role/configs.validator"
|
||||
principals: "user:tint-try-builder@chops-service-accounts.iam.gserviceaccount.com"
|
||||
}
|
||||
bindings {
|
||||
role: "role/logdog.reader"
|
||||
principals: "group:all"
|
||||
|
|
|
@ -48,6 +48,12 @@ luci.project(
|
|||
groups = "luci-logdog-chromium-writers",
|
||||
),
|
||||
],
|
||||
bindings = [
|
||||
luci.binding(
|
||||
roles = "role/configs.validator",
|
||||
users = "tint-try-builder@chops-service-accounts.iam.gserviceaccount.com",
|
||||
),
|
||||
],
|
||||
)
|
||||
|
||||
luci.logdog(gs_bucket = "chromium-luci-logdog")
|
||||
|
|
Loading…
Reference in New Issue