[ 
https://issues.apache.org/jira/browse/JS2-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12702413#action_12702413
 ] 

Woonsan Ko commented on JS2-818:
--------------------------------

Hi David,

I simply implemented this feature by adding a new valve 
(RefreshUserHomepageValveImpl).
This valve will work only after the user logs on and only once.
If the security attribute for the user, 
"org.apache.jetspeed.profiler.refreshUserHomepage", is set to "true", then the 
valve will copy or merge templates to user folder. (If there already exists 
user folder, then templates are to be merged by default.)
After working, the valve will update the flag attribute to "false", not to do 
more than once.

I did a simple test by adding a security attribute, 
"org.apache.jetspeed.profiler.refreshUserHomepage" with "true" value in the 
user manager portlet.

> When importing users with seed data, user actual home pages from template
> -------------------------------------------------------------------------
>
>                 Key: JS2-818
>                 URL: https://issues.apache.org/jira/browse/JS2-818
>             Project: Jetspeed 2
>          Issue Type: New Feature
>    Affects Versions: 2.2.0
>            Reporter: David Sean Taylor
>            Assignee: Woonsan Ko
>             Fix For: 2.2.0
>
>
> When the importer creates new users, we would like for the user's home pages 
> to be created as well from a template
> I am slating this for 2.2 but it may change

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to