code: public void clearACL() throws RepositoryException, AccessControlException
     {
        if (!isNodeType(Constants.EXO_PRIVILEGEABLE))
        {
           throw new AccessControlException("Node is not exo:privilegeable " + getPath());
        }
        // this will also check if item is valid
        checkPermission(PermissionType.CHANGE_PERMISSION);
  
        List<AccessControlEntry> aces = new ArrayList<AccessControlEntry>();
        for (String perm : PermissionType.ALL)
        {
           AccessControlEntry ace = new AccessControlEntry(IdentityConstants.ANY, perm);
           aces.add(ace);
        }
        AccessControlList acl = new AccessControlList(getACL().getOwner(), aces);
  
        setACL(acl);
     }
docs: {@inheritDoc}