(ctx context.Context, arg database.UpsertMCPServerUserTokenParams)
| 8220 | } |
| 8221 | |
| 8222 | func (q *querier) UpsertMCPServerUserToken(ctx context.Context, arg database.UpsertMCPServerUserTokenParams) (database.MCPServerUserToken, error) { |
| 8223 | if err := q.authorizeContext(ctx, policy.ActionUpdate, rbac.ResourceDeploymentConfig); err != nil { |
| 8224 | return database.MCPServerUserToken{}, err |
| 8225 | } |
| 8226 | return q.db.UpsertMCPServerUserToken(ctx, arg) |
| 8227 | } |
| 8228 | |
| 8229 | func (q *querier) UpsertNotificationReportGeneratorLog(ctx context.Context, arg database.UpsertNotificationReportGeneratorLogParams) error { |
| 8230 | if err := q.authorizeContext(ctx, policy.ActionCreate, rbac.ResourceSystem); err != nil { |
nothing calls this directly
no test coverage detected