MCPcopy Index your code
hub / github.com/simstudioai/sim / route.ts

File route.ts

apps/sim/app/api/permission-groups/user/route.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { NextResponse } from 'next/server'
2import { userPermissionConfigQuerySchema } from '@/lib/api/contracts/permission-groups'
3import { getSession } from '@/lib/auth'
4import { isOrganizationOnEnterprisePlan } from '@/lib/billing'

Callers

nothing calls this directly

Calls 5

withRouteHandlerFunction · 0.90
checkWorkspaceAccessFunction · 0.90
resolveWorkspaceGroupFunction · 0.90

Tested by

no test coverage detected