示例#1
0
 protected void deleteACL(DocumentRef ref) throws ClientException {
   ACP acp = session.getACP(ref);
   acp.removeACL(aclName);
   acp.removeACL("inherited"); // make sure to not save the inherited acl
   // which is dynamically computed
   session.setACP(ref, acp, true);
 }