TODO (PR #24810): Replace rbac.ResourceAuditLog with dedicated boundary_log resource type.
(ctx context.Context, id uuid.UUID)
| 2781 | |
| 2782 | // TODO (PR #24810): Replace rbac.ResourceAuditLog with dedicated boundary_log resource type. |
| 2783 | func (q *querier) GetBoundarySessionByID(ctx context.Context, id uuid.UUID) (database.BoundarySession, error) { |
| 2784 | if err := q.authorizeContext(ctx, policy.ActionRead, rbac.ResourceAuditLog); err != nil { |
| 2785 | return database.BoundarySession{}, err |
| 2786 | } |
| 2787 | return q.db.GetBoundarySessionByID(ctx, id) |
| 2788 | } |
| 2789 | |
| 2790 | func (q *querier) GetChatACLByID(ctx context.Context, id uuid.UUID) (database.GetChatACLByIDRow, error) { |
| 2791 | chat, err := q.db.GetChatByID(ctx, id) |
nothing calls this directly
no test coverage detected