Open mlncn opened 11 months ago
@dinarcon on further looking into this with @MegaKeegMan the current sites make a clear distinction between private "Account" data in one tab and public "Profile" data in another tab, both saved separately. Even the e-mail address under Profile can be different from that under account. Since Profile module supports migrating from Profile2, maybe we should keep profile? Probably easier to migrate and get the desired functionality, at the cost of a little more to maintain in the long-term.
This issue has just become a high priority task, since I just discovered that attempting to add a user results in a WSOD.
The fatal error is fixed and as expected it was not related to migration or old data or anything: Drupal 10.1: fatal error on account creation [#3371850] | Drupal.org
Confirmed. As of 0f1abdf54b106ee4e60be0b24240f3740078ac3b (just a composer update), creating users does not cause a fatal error.
For now, let's make sure that each user can only have one profile.
There are pece specific permissions for profile. Why were these done and can we get rid of them?
It looks like the pece profile permissions are more granular, providing permissions like "Update any profile" and "Update own profile". Aren't these usually handled by the profile module?
Multiple profiles are not used (and if they were or are wanted we could use user bundles rather than Profile module).
Profile2 fields and their content should be migrated to the user entity's default 'user' bundle.