core/src/main/java/org/sakaiproject/nakamura/api/lite/accesscontrol/AclModification.java
public static void addAcl(boolean grant, Permission permssion, String key,
            List<AclModification> modifications) {
        if (grant) {
            key = AclModification.grantKey(key);
        } else {
            key = AclModification.denyKey(key);
        }
        modifications.add(new AclModification(key, permssion.getPermission(),
                AclModification.Operation.OP_OR));
    }
public static void addAcl(boolean grant, Permission permssion, String key,
            List<AclModification> modifications) {
        if (grant) {
            key = AclModification.grantKey(key);
        } else {
            key = AclModification.denyKey(key);
        }
        modifications.add(new AclModification(key, permssion.getPermission(),
                AclModification.Operation.OP_OR));
    }
TODO: Unit test