MCPcopy
hub / github.com/simstudioai/sim / grantAccess

Function grantAccess

apps/sim/app/api/files/authorization.test.ts:55–57  ·  view source on GitHub ↗
(cloudKey: string)

Source from the content-addressed store, hash-verified

53const USER_ID = 'user-1'
54
55function grantAccess(cloudKey: string) {
56 return verifyFileAccess(cloudKey, USER_ID, undefined, 'knowledge-base')
57}
58
59describe('verifyKBFileAccess (binding-only)', () => {
60 beforeEach(() => {

Callers 1

Calls 1

verifyFileAccessFunction · 0.90

Tested by

no test coverage detected