- Issue created by @n1k
- @n1k opened merge request.
When a user doesn't have a profile yet, the fields will not be synced as no profiles can be found.
1. Create a user without a profile
2. Setup profile mapping
3. Login
4. Profile fields are not synced
Either:
a) Provide a hook before synchronization to allow the developer to create a profile
b) Add configuration and configuration form for users to:
- Wether to create a profile
- Select the profile type that will be used
The profile type could also be used to filter the available profile fields.
Currently the module by design maps fields across different profile types if the field name exists.
Filtering that before would probably be a breaking change.
Due to the impact and this being probably better suited for another discussion I opted for solution a) for this patch.
When solution b) is preferred.
Alter the form or create a new tab that provides a config form.
When solution b) is preferred.
Profile mappings wouldn't be able to be synced across multiple profile types.
Active
2.0
Code