Uploaded image for project: 'Grouper'
  1. Grouper
  2. GRP-4161

GroupAnyAttributeFilter() matches partial group names as well as attribute values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 1.5.0
    • API
    • None

    Description

      groovy:000> def x = new GroupAnyAttributeFilter("sysadmingroup", StemFinder.findRootStem(gs)).getResults(gs)
      ===> [Group[name=etc:sysadmingroup,uuid=b486380c757446ef86644ec690792465]]
      

      It looks like this was introduced in 1.5.0. it's not just matching on the group name, but the display name too.

      commit 05750d0a9caa
      Date: Fri Jan 2 06:57:12 2009 +0000
      move group 1 to 1 attributes to group table

      Can this be changed to just query attributes and not the group names? If I want to act on the resulting set of groups and do something with the attribute, I don't want to get groups that don't actually have the attribute.

      Attachments

        Activity

          People

            chris.hyzer@at.internet2.edu Chris Hyzer (upenn.edu)
            chad.redman@at.internet2.edu Chad Redman (unc.edu)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: