docs: public CmsUUID publishProject(CmsObject cms, CmsPublishList publishList, I_CmsReport report) throws CmsException {
  
          CmsRequestContext context = cms.getRequestContext();
          CmsDbContext dbc = m_dbContextFactory.getDbContext(context);
          try {
              // check if the current user has the required publish permissions
              checkPublishPermissions(dbc, publishList);
              m_driverManager.publishProject(cms, dbc, publishList, report);
          } finally {
              dbc.clear();
          }
          return publishList.getPublishHistoryId();
      }