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

Jean-Noël Rouvignac
03.26.2016 30370aa1fc4d363f07023059f330e9a1ec9f2313
opendj-server-legacy/src/main/java/org/opends/server/extensions/ConfigFileHandler.java
@@ -1131,7 +1131,7 @@
           DirectoryServer.getAttributeType(ATTR_DEFAULT_ROOT_PRIVILEGE_NAME);
      for (Modification m : modifyOperation.getModifications())
      {
        if (m.getAttribute().getAttributeType().equals(privType))
        if (m.getAttribute().getAttributeDescription().getAttributeType().equals(privType))
        {
          if (! clientConnection.hasPrivilege(Privilege.PRIVILEGE_CHANGE,
                                              modifyOperation))