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

dugan
23.14.2008 b716ed194e9727525a9f4f8a3d46d859aa8e3183
issue 3492: geteffective rights returns incorrect rights of isMemberOf attribute

Two liner to fix attribute type lookup in geteffective rights ACI class,
1 files modified
6 ■■■■■ changed files
opends/src/server/org/opends/server/authorization/dseecompat/AciEffectiveRights.java 6 ●●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/authorization/dseecompat/AciEffectiveRights.java
@@ -223,8 +223,10 @@
              nonRightsAttrs.addAll(e.getOperationalAttributes().keySet());
          else {
              AttributeType attrType;
              if((attrType = DirectoryServer.getAttributeType(a)) == null)
                  attrType = DirectoryServer.getDefaultAttributeType(a);
              if((attrType =
                  DirectoryServer.getAttributeType(a.toLowerCase())) == null)
                  attrType =
                      DirectoryServer.getDefaultAttributeType(a.toLowerCase());
              nonRightsAttrs.add(attrType);
          }
      }