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

Function createPermissionError

apps/sim/lib/copilot/auth/permissions.ts:42–44  ·  view source on GitHub ↗
(operation: string)

Source from the content-addressed store, hash-verified

40 * Helper function to create consistent permission error messages
41 */
42export function createPermissionError(operation: string): string {
43 return `Access denied: You do not have permission to ${operation} this workflow`
44}

Callers 2

executeFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected