docs: public boolean hasPermissionsForMassEdit(CmsObject cms, String siteRoot) {
  
          String originalSiteRoot = cms.getRequestContext().getSiteRoot();
          try {
              cms.getRequestContext().setSiteRoot(siteRoot);
              return OpenCms.getRoleManager().hasRoleForResource(cms, CmsRole.ADMINISTRATOR, "/");
          } finally {
              cms.getRequestContext().setSiteRoot(originalSiteRoot);
          }
  
      }