Description
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"
}