-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/build/cmd/relui: implement ACLs #68114
Comments
Change https://go.dev/cl/593895 mentions this issue: |
Change https://go.dev/cl/593915 mentions this issue: |
Implement CrIA auth database replication. This fetches the database containing group memberships from a cloud storage bucket and then updates it every 30 seconds with +/- 10 seconds of jitter. This duplicates the logic that is used in the LUCI server implementation and is the solution recommended by their team. For golang/go#68114 Change-Id: I6f120aa6180822854049e5d9b4d370cd0faa8633 Reviewed-on: https://go-review.googlesource.com/c/build/+/593895 Reviewed-by: Carlos Amedee <carlos@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Auto-Submit: Roland Shoemaker <roland@golang.org>
Change https://go.dev/cl/607795 mentions this issue: |
We use our policy group for Go release workflows. For golang/go#68114. Change-Id: I2cb31682c1072e0b2f2908d05054831ca6987bd0 Reviewed-on: https://go-review.googlesource.com/c/build/+/607795 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Roland Shoemaker <roland@golang.org>
Change https://go.dev/cl/624076 mentions this issue: |
Relui is expected to serve 404 when a workflow that doesn't exist is requested. Its tests, ones that run only when a database is available, also expect that. Update a few places after CL 593915 accordingly to serve 404 instead of 500, and update TestServerStopWorkflow to create a workflow in the DB, since stopWorkflowHandler now fetches it as part of checking ACLs. For golang/go#68114. Change-Id: I90f12a431b1f97d8be33d6404eb7e2064e50f688 Reviewed-on: https://go-review.googlesource.com/c/build/+/624076 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Carlos Amedee <carlos@golang.org> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
(internally go/relui-acls)
relui has a flat permissions model, allowing anyone on the IAP access list to create, delete, approve, schedule, etc any workflow they like. As more manual work is being transitioned into relui workflows across teams, the sensitivity of workflows is becoming more diverse.
We plan implement the ability to require group membership in order to interact with specific workflows. This will use the CrIA Chrome service to query membership in internal Google groups.
The text was updated successfully, but these errors were encountered: