(ctx context.Context, userIDs []uuid.UUID)
| 4558 | } |
| 4559 | |
| 4560 | func (q *querier) GetUserAISeatStates(ctx context.Context, userIDs []uuid.UUID) ([]uuid.UUID, error) { |
| 4561 | if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceAiSeat); err != nil { |
| 4562 | return nil, err |
| 4563 | } |
| 4564 | return q.db.GetUserAISeatStates(ctx, userIDs) |
| 4565 | } |
| 4566 | |
| 4567 | func (q *querier) GetUserActivityInsights(ctx context.Context, arg database.GetUserActivityInsightsParams) ([]database.GetUserActivityInsightsRow, error) { |
| 4568 | // Used by insights endpoints. Need to check both for auditors and for regular users with template acl perms. |
nothing calls this directly
no test coverage detected