mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

dugan
06.40.2008 a99670d33c4721f8fe9bc3903a75ca2b04a77dbf
opends/src/server/org/opends/server/authorization/dseecompat/AciHandler.java
@@ -343,21 +343,23 @@
                 * Check if we have rights to delete all values of
                 * an attribute type in the resource entry.
                 */
                if(resourceEntry.hasAttribute(modAttrType)) {
                  container.setCurrentAttributeType(modAttrType);
                  List<Attribute> attrList =
              if(resourceEntry.hasAttribute(modAttrType)) {
                container.setCurrentAttributeType(modAttrType);
                List<Attribute> attrList =
                   resourceEntry.getAttribute(modAttrType,modAttr.getOptions());
                if(attrList != null) {
                  for (Attribute a : attrList) {
                    for (AttributeValue v : a.getValues()) {
                      container.setCurrentAttributeValue(v);
                      container.setRights(ACI_WRITE_DELETE);
                      if(!skipAccessCheck &&
                           !accessAllowed(container))
                              !accessAllowed(container))
                        return false;
                    }
                  }
                }
             }
              }
            }
            if(modAttr.hasValue()) {
               for(AttributeValue v : modAttr.getValues()) {