TitleStoreUserProfileAttributesInUsersPageAsMetaData
Date19-Jan-2007 03:52:33 EET
JSPWiki version2.4.87
SubmitterDaveWolf
Idea CategoryGenericIdea
Reference
Idea StatusNewIdea

Problem#

Currently, UserProfile attributes only the core items such as UserName and WikiName, get stored in the userdatabase.xml and therefore are available whenever the user logs in from any location. The other attributes, such as those provided by BrushedTemplate are saved in cookies and are therefore lost to the user when logging in from a different browser or location. Another problem is that the attributes are replaced from the values of a previous user's session when the user logs in from the same browser as another user of the same JSPWiki-based Wiki.

Idea#

When a user registers with the Wiki, automatically create a page for the user. Embed within the page meta-data that would represent the user's profile attributes. When the User Logs in, check for the presence of the user's page and set the attributes appropriately. Otherwise set the attributes from the browser's cookie. The UserProfile page's save function would need to write the meta-data to the user's page.


Dave,

Who would have access to the user's individual page? Would all the included attributes pertain to things that the user can be trusted with? How would you enforce some kind of content integrity - so that the inevitable mistakes wouldn't cause problems?

Terry

--TS, 19-Jan-2007

Hi Terry, As a rule, I set up my User's page so that 'All' have 'View' and only I (the user) have 'Delete' privileges. It would be nice to see those permissions initially automatically applied to the page upon registration. The attribute values would be items taken from the UserProfile (in my case BrushedTemplate) page and would be programmatically inserted into the page. Most of the items in the BrushedTemplate UserProfile page have drop-down lists against which the values could be validated. If the value is not found in the list then it could be ignored and a default value used instead. So where drop-down lists are provided (by whatever template is in use), the values could be validated. Free-form text values wouldn't be validated.

Cheers,

--DaveWolf

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-4) was last changed on 23-Jan-2007 02:42 by DaveWolf