Forum .LRN Q&A: Re: default user portlets

Collapse
2: Re: default user portlets (response to 1)
Posted by Nagita Karunaratne on
Ok,

I found this.

This is added because /dotlrn/admin/user-new-2.tcl calls dotlrn::user_add which calls the 'AddUser' method of the dotlrn-applet SC for each and every applet in the system.

dotlrn-calendar and dotlrn-fs just happen to have an implementation that adds  portlets to the user's portal.

All other applets, even dotlrn-dotlrn has a no-op for 'AddUser'.

Is this something that is yet to be completed?
What is special about calendar and fs that requires that the user be added by default?
Was the intention to check a parameter to see if the portlet is to be added before adding it?

Thanks