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

Method DeleteReplicasUpdatedBefore

coderd/database/dbauthz/dbauthz.go:2275–2280  ·  view source on GitHub ↗
(ctx context.Context, updatedAt time.Time)

Source from the content-addressed store, hash-verified

2273}
2274
2275func (q *querier) DeleteReplicasUpdatedBefore(ctx context.Context, updatedAt time.Time) error {
2276 if err := q.authorizeContext(ctx, policy.ActionDelete, rbac.ResourceSystem); err != nil {
2277 return err
2278 }
2279 return q.db.DeleteReplicasUpdatedBefore(ctx, updatedAt)
2280}
2281
2282func (q *querier) DeleteRuntimeConfig(ctx context.Context, key string) error {
2283 if err := q.authorizeContext(ctx, policy.ActionDelete, rbac.ResourceSystem); err != nil {

Callers

nothing calls this directly

Calls 2

authorizeContextMethod · 0.95

Tested by

no test coverage detected