fix(coderd/rbac): make workspace ACL disabled flag atomic by geokat · Pull Request #21799 · coder/coder

@geokat geokat changed the title fix(coderd/rback): make workspace ACL disabled flag atomic fix(coderd/rbac): make workspace ACL disabled flag atomic

Jan 30, 2026

@geokat

The flag is a package-global that was only meant to be set once on startup.
This was a bad assumption since the lack of sync caused test flakes.

Related to:
coder/internal#1317
coder/internal#1318

@geokat geokat marked this pull request as ready for review

January 30, 2026 18:56

@geokat geokat deleted the geokat/internal-1317-data-race-on-workspace-acl-disabled-in-tests branch

January 30, 2026 19:21