( knowledgeBaseId: string, documentId: string, chunkId: string, userId: string )
| 380 | * operations require the same permission as creation rather than read. |
| 381 | */ |
| 382 | export async function checkChunkWriteAccess( |
| 383 | knowledgeBaseId: string, |
| 384 | documentId: string, |
| 385 | chunkId: string, |
| 386 | userId: string |
| 387 | ): Promise<ChunkAccessCheck> { |
| 388 | return resolveChunkAccess(knowledgeBaseId, documentId, chunkId, userId, true) |
| 389 | } |
no test coverage detected