(ctx context.Context, arg database.AcquireNotificationMessagesParams)
| 1590 | } |
| 1591 | |
| 1592 | func (q *querier) AcquireNotificationMessages(ctx context.Context, arg database.AcquireNotificationMessagesParams) ([]database.AcquireNotificationMessagesRow, error) { |
| 1593 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceNotificationMessage); err != nil { |
| 1594 | return nil, err |
| 1595 | } |
| 1596 | return q.db.AcquireNotificationMessages(ctx, arg) |
| 1597 | } |
| 1598 | |
| 1599 | func (q *querier) AcquireProvisionerJob(ctx context.Context, arg database.AcquireProvisionerJobParams) (database.ProvisionerJob, error) { |
| 1600 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceProvisionerJobs); err != nil { |
nothing calls this directly
no test coverage detected