docs: public void setFlagsForPrincipal(I_CmsPrincipal principal) {
  
          setFlags(
              principal.isGroup() ? CmsAccessControlEntry.ACCESS_FLAGS_GROUP : CmsAccessControlEntry.ACCESS_FLAGS_USER);
      }