MCPcopy Index your code
hub / github.com/coder/coder / BatchUpdateWorkspaceNextStartAt

Method BatchUpdateWorkspaceNextStartAt

coderd/database/dbauthz/dbauthz.go:1700–1705  ·  view source on GitHub ↗
(ctx context.Context, arg database.BatchUpdateWorkspaceNextStartAtParams)

Source from the content-addressed store, hash-verified

1698}
1699
1700func (q *querier) BatchUpdateWorkspaceNextStartAt(ctx context.Context, arg database.BatchUpdateWorkspaceNextStartAtParams) error {
1701 if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceWorkspace.All()); err != nil {
1702 return err
1703 }
1704 return q.db.BatchUpdateWorkspaceNextStartAt(ctx, arg)
1705}
1706
1707func (q *querier) BatchUpsertConnectionLogs(ctx context.Context, arg database.BatchUpsertConnectionLogsParams) error {
1708 if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceConnectionLog); err != nil {

Callers

nothing calls this directly

Calls 3

authorizeContextMethod · 0.95
AllMethod · 0.80

Tested by

no test coverage detected