docs: private String getCommonAncestorPath(Collection<CmsResource> resources) {
  
          if (resources.isEmpty()) {
              return "/";
          }
          String commonPath = null;
          for (CmsResource resource : resources) {
              commonPath = getCommonAncestorPath(commonPath, resource.getRootPath());
          }
          return commonPath;
      }