Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-21406

Allow admin to specify additional user attributes when creating/editing a user

    XMLWordPrintable

    Details

    • Type: (Deprecated) Contributed Patch
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: 10.0
    • Labels:
      None
    • Property addition/change required:
      Yes

      Description

      This patch allows an admin to specify additional user attributes when creating or editing a user.

      This is configured via sakai.properties as below.

      The first section specifies the number of attributes and their keys. The second maps the key to the display value. There can be any number of attributes.

      The user is then presented with a text box to fill in the value of the attribute.

      user.additional.attribute.count=3
      user.additional.attribute.1=att1
      user.additional.attribute.2=att2
      user.additional.attribute.3=att3

      user.additional.attribute.display.att1=Attribute 1
      user.additional.attribute.display.att2=Attribute 2
      user.additional.attribute.display.att3=Attribute 3

      For example:

      user.additional.attribute.count=2
      user.additional.attribute.1=college
      user.additional.attribute.2=room

      user.additional.attribute.display.college=College
      user.additional.attribute.display.room=Room No

      These tie directly in with the user properties for a user, so then show up in the (new for 2.9) 'Properties section' at the bottom. You can also remove the attributes using the X.


      This work was completed on behalf of Ultraline Technologies (http://www.ultralinellc.com/)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  steve.swinsburg Steve Swinsburg
                • Votes:
                  1 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code