(ctx context.Context, includeSystem bool)
| 2688 | } |
| 2689 | |
| 2690 | func (q *querier) GetActiveUserCount(ctx context.Context, includeSystem bool) (int64, error) { |
| 2691 | if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceSystem); err != nil { |
| 2692 | return 0, err |
| 2693 | } |
| 2694 | return q.db.GetActiveUserCount(ctx, includeSystem) |
| 2695 | } |
| 2696 | |
| 2697 | func (q *querier) GetActiveWorkspaceBuildsByTemplateID(ctx context.Context, templateID uuid.UUID) ([]database.WorkspaceBuild, error) { |
| 2698 | // This is a system-only function. |
nothing calls this directly
no test coverage detected