docs: private void performPermissionCheck(CmsObject cms) throws CmsPermissionViolationException {
  
          if (cms.getRequestContext().getCurrentUser().isGuestUser()) {
              throw new CmsPermissionViolationException(null);
          }
      }