docs: public CmsResource getPermissionCheckFolder(CmsObject cms) throws CmsException {
  
          CmsResource folder = getFolder(cms);
          if (folder != null) {
              return folder;
          }
          String parentPath = CmsResource.getParentFolder(m_path);
          CmsResource parent = cms.readResource(parentPath);
          return parent;
      }