As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
reference = new Reference(spacesStore,null,"/app:company_home/st:sites/cm:"+FOLDERNAME); Predicate predicate = new Predicate(new Reference[] {reference}, null, null); ACL[] acl; try { ACE[] ace = new ACE[]{new ACE(FOLDERNAME, Constants.CONTRIBUTOR, AccessStatus.acepted)}; acl = accessControlService.addACEs(predicate,ace); } catch (Exception e) { // TODO Auto-generated catch block e.printStackTrace(); }