What is it?

  • User Acquisitions. We need some way that an account can “Acquire” a user. This means if someone anonymously posts a comment and puts in their name and e-mail it will attach this information on a “User”. But later they come along and sign up for a Drupal account they should be able to “Acquire” that user and own that comment.
  • http://drupal.org/node/355513#comment-4026572 - This is where this issue is discussed in the core issue queue.

What should be in core?

  • Minimal but extensible - In Drupal core we need to be really careful how this happens to cater for the most secure system possible. (Eg should the account be able to edit the old comment - I think answer no, Should the comment now link to the account - answer no, there are security issues with both)
  • Plugins - Can we use Drupal 8’s plugin architecture to provide a simple core Party Acquisitions plugin that can be completely swapped out for various contrib modules?
    • Do we want core to only provide the ability for contrib to do acquisitions or do we want some of it in core?

What should be in Contrib?
A Full Party Acquisitions process that is highly flexible, configurable and has lots of rules (Using the rules module? Or just something we code). We should allow contrib to completely change the rules and processes for how this acquisitions process works.

We want to make a bunch of things possible:

  • When a new account acquires a user it:
    • Can edit all the previous comments or not
    • All previous comments can link to the user’s page or not
    • Fields on the User Entity are editable by the new account
    • Fields on various profile2’s can be viewable and/or editable
  • When information is collected about a user on a comment form or some other means (A CRM dashboard built using SCOTCH)
    • It sometimes goes on the User Entity
    • It sometimes goes on a Profile2
    • It sometimes goes on something provided by another module (customer profile? Or would other modules just all make their own Profile2 types?)

Comments

rlmumford’s picture

There's an example of acquisitions here http://d8demo.cnsuk.co.cc/

yautja_cetanu’s picture

https://docs.google.com/document/d/16qMcnmEBivMuNFxIEky7C4P-LVMtgnODSCAm...

A comparison of all the different potential methods we could use and their consequences. Looking at that list I think we may be able to make a few hybrid methods. My idea for a roadmap:

1) Get anonymous users a thing - Rlmumford has made this patch
2) Get anonymous users working with the comment module - Rlmumford is working on this patch
3) Get anonymous user names working right (Most of the different methods have issues with anonymous names)
4) How much do we use profile to store anonymous information?
5) Further work - User Types, Acquisitions, Pluggable authentication.