Skip to content

fix: allow workspace owners to view timings #15364

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

Merged
merged 1 commit into from
Nov 5, 2024
Merged

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
2 participants