docs: protected List<CmsResourceStatusRelationBean> getSiblings(CmsObject cms, String locale, CmsResource resource)
      throws CmsException {
  
          List<CmsResourceStatusRelationBean> result = new ArrayList<CmsResourceStatusRelationBean>();
          for (CmsResource sibling : cms.readSiblings(resource, CmsResourceFilter.ALL)) {
              if (sibling.getStructureId().equals(resource.getStructureId())) {
                  continue;
              }
              try {
                  CmsPermissionInfo permissionInfo = OpenCms.getADEManager().getPermissionInfo(
                      cms,
                      sibling,
                      resource.getRootPath());
                  if (permissionInfo.hasViewPermission()) {
                      CmsResourceStatusRelationBean relationBean = createRelationBean(
                          cms,
                          locale,
                          sibling,
                          permissionInfo);
                      result.add(relationBean);
                  }
              } catch (CmsException e) {
                  LOG.error(e.getLocalizedMessage(), e);
              }
          }
          return result;
      }