docs: List<String> getAncestorPaths(String path) {
  
          List<String> result = Lists.newArrayList();
          while (path != null) {
              result.add(path);
              path = CmsResource.getParentFolder(path);
          }
          return result;
      }