(ctx context.Context, arg database.GetChildChatsByParentIDsParams)
| 3293 | } |
| 3294 | |
| 3295 | func (q *querier) GetChildChatsByParentIDs(ctx context.Context, arg database.GetChildChatsByParentIDsParams) ([]database.GetChildChatsByParentIDsRow, error) { |
| 3296 | // Each child is independently authorized via post-filter. |
| 3297 | // The handler calls this after GetChats already authorized |
| 3298 | // the parent chats, but we still verify read access on |
| 3299 | // every child row for defense in depth. |
| 3300 | return fetchWithPostFilter(q.auth, policy.ActionRead, q.db.GetChildChatsByParentIDs)(ctx, arg) |
| 3301 | } |
| 3302 | |
| 3303 | func (q *querier) GetConnectionLogsOffset(ctx context.Context, arg database.GetConnectionLogsOffsetParams) ([]database.GetConnectionLogsOffsetRow, error) { |
| 3304 | // Just like with the audit logs query, shortcut if the user is an owner. |
nothing calls this directly
no test coverage detected