(ctx context.Context, arg database.GetWorkspacesParams, _ rbac.PreparedAuthorized)
| 8468 | } |
| 8469 | |
| 8470 | func (q *querier) GetAuthorizedWorkspaces(ctx context.Context, arg database.GetWorkspacesParams, _ rbac.PreparedAuthorized) ([]database.GetWorkspacesRow, error) { |
| 8471 | // TODO Delete this function, all GetWorkspaces should be authorized. For now just call GetWorkspaces on the authz querier. |
| 8472 | return q.GetWorkspaces(ctx, arg) |
| 8473 | } |
| 8474 | |
| 8475 | func (q *querier) GetAuthorizedWorkspacesAndAgentsByOwnerID(ctx context.Context, ownerID uuid.UUID, _ rbac.PreparedAuthorized) ([]database.GetWorkspacesAndAgentsByOwnerIDRow, error) { |
| 8476 | return q.GetWorkspacesAndAgentsByOwnerID(ctx, ownerID) |
nothing calls this directly
no test coverage detected