You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by "Woonsan Ko (JIRA)" <je...@portals.apache.org> on 2009/04/24 17:34:30 UTC

[jira] Commented: (JS2-818) When importing users with seed data, user actual home pages from template

    [ 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: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org