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

LDAP_GROUPS_FROM_ATTRIBUTES should utilize extra attributes to construct display name

    XMLWordPrintable

Details

    Description

      The LDAP_GROUP_LIST is able to specify extra attributes, and these attributes can be used in an EL expression to construct a group display name when a new group is created. The LDAP_GROUPS_FROM_ATTRIBUTES loader, however, only has the EL variable "groupAttribute" that it pulls from the Attribute Name defined for the job, This means that the display name has no option except to be the same as the group name, other than trivial transformations like capitalization. It would be nice to be able to pull in extra attributes the way that the Group List loader can do.

      So, the group name could be

      ${"base:dept:" + groupAttribute + ":staff"}

      while the display name would be

      ${"base:dept:" + groupAttributes['ou'] + " (" + groupAttribute + "):Staff"}

      Attachments

        Activity

          People

            chad.redman@at.internet2.edu Chad Redman (unc.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:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 4 hours
                4h