CR 2074 Fix OPENDJ-1097 Default access controls grant access to ds-sync-hist
| | |
| | | * |
| | | * |
| | | * Copyright 2008 Sun Microsystems, Inc. |
| | | * Portions Copyright 2012 ForgeRock AS |
| | | * Portions Copyright 2012-2013 ForgeRock AS |
| | | */ |
| | | |
| | | package org.opends.server.authorization.dseecompat; |
| | |
| | | targetAttr.opAttributes.contains(a)) |
| | | ret=true; |
| | | if(targetAttr.isAllOpAttributes() || |
| | | !targetAttr.attributes.isEmpty() || |
| | | !targetAttr.opAttributes.isEmpty()) { |
| | | if(targetAttr.getOperator(). |
| | | equals(EnumTargetOperator.NOT_EQUALITY)) |
| | |
| | | targetAttr.attributes.contains(a)) |
| | | ret=true; |
| | | if(targetAttr.isAllUserAttributes() || |
| | | !targetAttr.opAttributes.isEmpty() || |
| | | !targetAttr.attributes.isEmpty()) { |
| | | if(targetAttr.getOperator(). |
| | | equals(EnumTargetOperator.NOT_EQUALITY)) |
| | |
| | | { "!=", "cn || sn", "sn", false }, |
| | | { "!=", "cn", "sn", true }, // Not eq user attr |
| | | { "!=", "cn || sn", "description", true }, // Not eq user attr |
| | | { "!=", "cn || sn", "modifytimestamp", true }, // Not eq op attr |
| | | { "!=", "aci", "cn", true }, |
| | | { "!=", "cn || sn", "modifytimestamp", false }, // Not eq op attr |
| | | { "!=", "aci", "cn", false }, |
| | | { "!=", "aci", "modifytimestamp", true }, |
| | | }; |
| | | } |