MCPcopy Create free account
hub / github.com/coder/coder / GetAuthorizedChats

Method GetAuthorizedChats

coderd/database/dbauthz/dbauthz.go:8537–8539  ·  view source on GitHub ↗
(ctx context.Context, arg database.GetChatsParams, _ rbac.PreparedAuthorized)

Source from the content-addressed store, hash-verified

8535}
8536
8537func (q *querier) GetAuthorizedChats(ctx context.Context, arg database.GetChatsParams, _ rbac.PreparedAuthorized) ([]database.GetChatsRow, error) {
8538 return q.GetChats(ctx, arg)
8539}
8540
8541func (q *querier) GetAuthorizedChatsByChatFileID(ctx context.Context, fileID uuid.UUID, prepared rbac.PreparedAuthorized) ([]database.Chat, error) {
8542 return q.db.GetAuthorizedChatsByChatFileID(ctx, fileID, prepared)

Callers

nothing calls this directly

Calls 1

GetChatsMethod · 0.95

Tested by

no test coverage detected