(ctx context.Context, arg database.InsertReplicaParams)
| 5757 | } |
| 5758 | |
| 5759 | func (q *querier) InsertReplica(ctx context.Context, arg database.InsertReplicaParams) (database.Replica, error) { |
| 5760 | if err := q.authorizeContext(ctx, policy.ActionCreate, rbac.ResourceSystem); err != nil { |
| 5761 | return database.Replica{}, err |
| 5762 | } |
| 5763 | return q.db.InsertReplica(ctx, arg) |
| 5764 | } |
| 5765 | |
| 5766 | func (q *querier) InsertTask(ctx context.Context, arg database.InsertTaskParams) (database.TaskTable, error) { |
| 5767 | // Ensure the actor can access the specified template version (and thus its template). |
nothing calls this directly
no test coverage detected