docs: private void checkPermissionsForMassEdit(CmsObject cms, String siteRoot) throws CmsException {
  
          String originalSiteRoot = cms.getRequestContext().getSiteRoot();
          try {
              cms.getRequestContext().setSiteRoot(siteRoot);
              checkPermissionsForMassEdit(cms);
          } finally {
              cms.getRequestContext().setSiteRoot(originalSiteRoot);
          }
      }