Uploaded image for project: 'Shibboleth User Interface'
  1. Shibboleth User Interface
  2. SHIBUI-2110

DIsplay names not being used for Attribute Release

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 1.10.0
    • None
    • None
    • 9/24/21 - 10/8/21, 10/8/21 - 10/22/21

    Description

      Steve Mak reported in Slack that the display name is no longer being respected in the UI. I believe this happened during the switch to React, as the UI is now relying on the JSON-schema for this list rather than the `/customAttributes` endpoint. I believe if we put the `displayName` property in the `enumNames` for all attributes it would be the simplest way to resolve the issue.

      // Some comments here
      "attributeRelease": {
          "type": "array",
          "title": "label.attribute-release",
          "description": "Attribute release table - select the attributes you want to release (default unchecked)",
          "items": {
              "type": "string",
              "enum": [
                  "eduPersonPrincipalName",
                  "uid",
                  "mail",
                  "surname",
                  "givenName",
                  "eduPersonAffiliation",
                  "eduPersonScopedAffiliation",
                  "eduPersonPrimaryAffiliation",
                  "eduPersonEntitlement",
                  "eduPersonAssurance",
                  "eduPersonUniqueId",
                  "employeeNumber"
              ],
              "enumNames": []
          },
          "uniqueItems": true
      }
      

      Attachments

        Activity

          People

            charles.hasegawa@at.internet2.edu Charles Hasegawa (unicon.net)
            ryan.mathis@at.internet2.edu Ryan Mathis (unicon.net)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5 hours, 30 minutes
                5h 30m
                Remaining:
                Remaining Estimate - 3 hours, 30 minutes
                3h 30m
                Logged:
                Remaining Estimate - 3 hours, 30 minutes Time Not Required
                2m