MCPcopy Index your code
hub / github.com/simstudioai/sim / allowed

Function allowed

apps/sim/lib/workflows/utils.test.ts:48–53  ·  view source on GitHub ↗
(workspacePermission: 'read' | 'write' | 'admin')

Source from the content-addressed store, hash-verified

46}
47
48const allowed = (workspacePermission: 'read' | 'write' | 'admin') => ({
49 allowed: true,
50 status: 200,
51 workflow: mockWorkflow,
52 workspacePermission,
53})
54
55const denied = (status: number, message: string, workspacePermission: string | null = null) => ({
56 allowed: false,

Callers 1

utils.test.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected