Skip to content

Issue with workspace builds timing RBAC #15250

Closed
@DanielleMaywood

Description

@DanielleMaywood

Currently if a user with a template admin role attempts to view the provisioning time for a workspace build of another user they get a 500 internal server error response. The user is still able to see the build logs, but they are unable to see the provisioner timings.

The endpoint

https://dev.coder.com/api/v2/workspacebuilds/<workspace_id>/timings

The response

{
  "message": "Internal error fetching timings.",
  "detail": "fetching workspace agent script timings: unauthorized: rbac: forbidden"
}

Metadata

Metadata

Assignees

Labels

bug riskProne to bugsmust-doIssues that must be completed by the end of the Sprint. Or else. Only humans may set this.needs decisionNeeds a higher-level decision to be unblocked.

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions