Issue Details (XML | Word | Printable)

Key: JS2-242
Type: Sub-task Sub-task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Ate Douma
Reporter: Ate Douma
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jetspeed 2
JS2-241

Configuration of User Details Portlet contents and behavior:

Created: 26/Apr/05 09:25 PM   Updated: 26/Apr/05 11:09 PM
Return to search
Component/s: Admin Portlets
Affects Version/s: 2.0-M2
Fix Version/s: 2.0-M3

Time Tracking:
Not Specified

File Attachments: None
Image Attachments:

1. security-user-attributes.png.jpg
(39 kB)

2. user-detail-add.jpg
(16 kB)

3. user-detail-prefs.jpg
(55 kB)

4. user-detail-user.jpg
(45 kB)

Resolution Date: 26/Apr/05 11:09 PM


 Description  « Hide
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


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Ate Douma made changes - 26/Apr/05 09:36 PM
Field Original Value New Value
Status Open [ 1 ] In Progress [ 3 ]
Ate Douma made changes - 26/Apr/05 10:19 PM
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
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

<<<<<< testing JIRA html capabilities: will remove this again >>>>>>>>
&lt;a href="http://www.apache.org/images/asf_logo.gif"&gt;test&lt;/a&gt;
Ate Douma made changes - 26/Apr/05 10:23 PM
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

<<<<<< testing JIRA html capabilities: will remove this again >>>>>>>>
&lt;a href="http://www.apache.org/images/asf_logo.gif"&gt;test&lt;/a&gt;
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

<<<<<< testing JIRA html capabilities: will remove this again >>>>>>>>
&lt;a href="http://www.apache.org/images/asf_logo.gif&quote;"&gt;test&lt;/a&gt;
Ate Douma made changes - 26/Apr/05 10:25 PM
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

<<<<<< testing JIRA html capabilities: will remove this again >>>>>>>>
&lt;a href="http://www.apache.org/images/asf_logo.gif&quote;"&gt;test&lt;/a&gt;
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
Ate Douma made changes - 26/Apr/05 10:41 PM
Attachment security-user-attributes.png.jpg [ 19783 ]
Ate Douma made changes - 26/Apr/05 10:43 PM
Attachment user-detail-prefs.jpg [ 19784 ]
Ate Douma made changes - 26/Apr/05 10:43 PM
Attachment user-detail-user.jpg [ 19785 ]
Ate Douma made changes - 26/Apr/05 10:44 PM
Attachment user-detail-add.jpg [ 19786 ]
Ate Douma added a comment - 26/Apr/05 10:56 PM
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

Ate Douma made changes - 26/Apr/05 11:09 PM
Status In Progress [ 3 ] Open [ 1 ]
Ate Douma added a comment - 26/Apr/05 11:09 PM
All features implemented.

Ate Douma made changes - 26/Apr/05 11:09 PM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]