docs: public boolean updateAcls(CmsObject cms, CmsResourceImportData resData, CmsResource resource) throws CmsException {
  
          boolean changed = false;
          Map<CmsUUID, CmsAccessControlEntry> importAces = buildAceMap(resData.getAccessControlEntries());
  
          String path = cms.getSitePath(resource);
          List<CmsAccessControlEntry> existingAcl = cms.getAccessControlEntries(path, false);
          Map<CmsUUID, CmsAccessControlEntry> existingAces = buildAceMap(existingAcl);
          Set<CmsUUID> keys = new HashSet<>(existingAces.keySet());
          keys.addAll(importAces.keySet());
          for (CmsUUID key : keys) {
              CmsAccessControlEntry existingEntry = existingAces.get(key);
              CmsAccessControlEntry newEntry = importAces.get(key);
              if ((existingEntry == null)
                  || (newEntry == null)
                  || !existingEntry.withNulledResource().equals(newEntry.withNulledResource())) {
                  cms.importAccessControlEntries(resource, resData.getAccessControlEntries());
                  changed = true;
                  break;
              }
          }
          return changed;
      }