Skip to content

Conversation

@Emyrk
Copy link
Member

@Emyrk Emyrk commented Nov 4, 2024

Anyone with authz access to a workspace should be able to read timings information of its builds.

To do this without AsSystemContext would do an extra 4 db calls.

Closes #15250

Anyone with authz access to a workspace should be able to read
timings information of its builds.
@Emyrk Emyrk requested a review from johnstcn November 4, 2024 17:07
Copy link
Member

@johnstcn johnstcn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were we running into an issue fetching the agents before?

@johnstcn
Copy link
Member

johnstcn commented Nov 4, 2024

Created coder/internal#194 for the test flake

@Emyrk
Copy link
Member Author

Emyrk commented Nov 4, 2024

Were we running into an issue fetching the agents before?

I am unsure? I was solving the timing issue linked in the PR description

@Emyrk Emyrk merged commit 8024c1d into main Nov 5, 2024
27 checks passed
@Emyrk Emyrk deleted the stevenmasley/api_timings branch November 5, 2024 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Issue with workspace builds timing RBAC

3 participants