code: protected Acl collectAcl(CmsObject cms, CmsResource resource, boolean onlyBasic) {
  
          AccessControlListImpl cmisAcl = new AccessControlListImpl();
          List<Ace> cmisAces = new ArrayList<Ace>();
          cmisAcl.setAces(cmisAces);
          cmisAcl.setExact(Boolean.FALSE);
          return cmisAcl;
      }
docs: Compiles the ACL for a relation.<p>
  
  @param cms the CMS context
  @param resource the resource for which to collect the ACLs
  @param onlyBasic flag to only include basic ACEs
  
  @return the ACL for the resource