mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
1d1070d051
The file cache was caching the `Unauthorized` errors if a user without the right perms opened the file first. So all future opens would fail. Now the cache always opens with a subject that can read files. And authz is checked on the Acquire per user.