code: def create_permission_error(uri):
      message = (
          "User does not have permission to execute operator '%s'" % uri
      )
      return JSONResponse(
          {"error": {"message": message}},
          status_code=403,
      )
  
imports: import types
  from starlette.endpoints import HTTPEndpoint
  from starlette.exceptions import HTTPException
  from starlette.requests import Request
  from starlette.responses import JSONResponse, StreamingResponse
  from fiftyone.server.decorators import route
  from .executor import execute_or_delegate_operator, resolve_type, resolve_placement, resolve_execution_options, ExecutionContext
  from .message import GeneratedMessage
  from .permissions import PermissionedOperatorRegistry
label_desc: Use image node_id 2 for calling a global function with example usage: create_permission_error(uri) and returns: JSONResponse