Forum OpenACS Improvement Proposals (TIPs): TIP #81: (Proposed) User Merge account support

Collapse
Posted by Enrique Catalan on
This must be for general purpose in oacs (OpenACS , .Lrn, etc), So, I would like to add more details of the Implementation:
  1. We will use two callbacks :
    • MergeShowUserInfo:

      It will return a list of lists with string messages that will say the items to be merged. It will be used in the GUI, so you will be able to see the items of each account before the merge.

    • MergePackageUser:

      This callback is to move the items from the from_user_id to the to_user_id account. For example, .Lrn as a package will have its own implementation that will merge the class memberships and other stuffs. The same for calendar, forums, news, faqs, etc... .

  2. In the other hand, we have the basic user info merge. Here we will follow the authentication approach using the contract "auth_authentication" and adding a new operation named "MergeUser". The implementations of this operation will merge the local and ldap authentication section.