docs: protected void persistProcessDefinitionsAndAuthorizations(ParsedDeployment parsedDeployment) {
          CommandContext commandContext = Context.getCommandContext();
          ProcessDefinitionEntityManager processDefinitionManager = commandContext.getProcessDefinitionEntityManager();
  
          for (ProcessDefinitionEntity processDefinition : parsedDeployment.getAllProcessDefinitions()) {
              processDefinitionManager.insert(processDefinition,
                                              false);
              bpmnDeploymentHelper.addAuthorizationsForNewProcessDefinition(parsedDeployment.getProcessModelForProcessDefinition(processDefinition),
                                                                            processDefinition);
          }
      }