Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-M2
    • Fix Version/s: 2.0-M3
    • Component/s: Admin Portlets
    • Labels:
      None

      Description

      Configuration of User Details Portlet contents and behavior:

      • allow form based entry of a configurable set of User Attributes
        on a new User Details Portlet tab (User tab)
      • specify which tabs are visible (e.g. hide Attributes tab)
      • specify default values for role and profile rule for new users (including none)
      • specify if default role and/or profile fields should be shown on "Add User" form
      • optional display Password tab contents on (new) User tab, allowing Password tab to
        be hidden
      1. security-user-attributes.png.jpg
        39 kB
        Ate Douma
      2. user-detail-add.jpg
        16 kB
        Ate Douma
      3. user-detail-prefs.jpg
        55 kB
        Ate Douma
      4. user-detail-user.jpg
        45 kB
        Ate Douma

        Activity

        Hide
        Ate Douma added a comment -

        I've implemented the solution for a User Attributes Entry Form as follows:
        All User Attributes defined for the Security Portlet Application (maintainable through the PAM)
        are rendered as text input fields using the User Attribute Description as label (note: no i18n here yet).
        These fields are rendered in the order they are stored in the database, so if you want to re-order,
        you should remove and re-add them in the correct order through the PAM.

        An example of User Attribute definitions in the PAM is attached:

        http://issues.apache.org/jira/secure/attachment/19783/security-user-attributes.png.jpg

        I've added an preferences edit mode to the UserDetailsPortlet through which all above mentioned features
        can be configured.
        The default values provided result in exact the same behavior as it is right now.
        But, by defining you own User Attributes (see above) and tuning these preferences like in the following attached screenshot:

        http://issues.apache.org/jira/secure/attachment/19784/19784_user-detail-prefs.jpg

        you can get a real nice result as shown in the attached screenshots for the new User tab and the Add User form (which will set the default Role and default Profile rule through hidden fields):

        http://issues.apache.org/jira/secure/attachment/19785/19785_user-detail-user.jpg
        http://issues.apache.org/jira/secure/attachment/19786/19786_user-detail-add.jpg

        Show
        Ate Douma added a comment - I've implemented the solution for a User Attributes Entry Form as follows: All User Attributes defined for the Security Portlet Application (maintainable through the PAM) are rendered as text input fields using the User Attribute Description as label (note: no i18n here yet). These fields are rendered in the order they are stored in the database, so if you want to re-order, you should remove and re-add them in the correct order through the PAM. An example of User Attribute definitions in the PAM is attached: http://issues.apache.org/jira/secure/attachment/19783/security-user-attributes.png.jpg I've added an preferences edit mode to the UserDetailsPortlet through which all above mentioned features can be configured. The default values provided result in exact the same behavior as it is right now. But, by defining you own User Attributes (see above) and tuning these preferences like in the following attached screenshot: http://issues.apache.org/jira/secure/attachment/19784/19784_user-detail-prefs.jpg you can get a real nice result as shown in the attached screenshots for the new User tab and the Add User form (which will set the default Role and default Profile rule through hidden fields): http://issues.apache.org/jira/secure/attachment/19785/19785_user-detail-user.jpg http://issues.apache.org/jira/secure/attachment/19786/19786_user-detail-add.jpg
        Hide
        Ate Douma added a comment -

        All features implemented.

        Show
        Ate Douma added a comment - All features implemented.

          People

          • Assignee:
            Ate Douma
            Reporter:
            Ate Douma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development