(ctx context.Context, arg database.UpsertAISeatStateParams)
| 7994 | } |
| 7995 | |
| 7996 | func (q *querier) UpsertAISeatState(ctx context.Context, arg database.UpsertAISeatStateParams) (bool, error) { |
| 7997 | if err := q.authorizeContext(ctx, policy.ActionCreate, rbac.ResourceAiSeat); err != nil { |
| 7998 | return false, err |
| 7999 | } |
| 8000 | return q.db.UpsertAISeatState(ctx, arg) |
| 8001 | } |
| 8002 | |
| 8003 | func (q *querier) UpsertAnnouncementBanners(ctx context.Context, value string) error { |
| 8004 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceDeploymentConfig); err != nil { |
nothing calls this directly
no test coverage detected