MCPcopy Index your code
hub / github.com/coder/coder / GetChildChatsByParentIDs

Method GetChildChatsByParentIDs

coderd/database/dbauthz/dbauthz.go:3295–3301  ·  view source on GitHub ↗
(ctx context.Context, arg database.GetChildChatsByParentIDsParams)

Source from the content-addressed store, hash-verified

3293}
3294
3295func (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
3303func (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.

Callers

nothing calls this directly

Calls 1

fetchWithPostFilterFunction · 0.85

Tested by

no test coverage detected