Bug #6675
closedPrivacy controls not displaying on registration
Description
Even if enabled on registration the privacy controls are not displaying.
Updated by krileon over 7 years ago
- Priority changed from Normal to Urgent
- % Done changed from 0 to 40
Partially fixed. Displays now, but doesn't save. User ID is missing for some reason. Needs further investigation. Tab privacy was displaying fine, but has same issue of not saving. Profile Privacy field oddly works fine.
Updated by krileon over 7 years ago
It wasn't saving due to saveTabsContents triggers being used, which during new user create there is no user id yet as the CMS user hasn't stored. It needs to use the commitTabsContents trigger as at that point the user is stored. Tab privacy save needs to behave similarly with savePluginTabs and saveRegistrationPluginTabs most likely.
Updated by krileon over 7 years ago
- Status changed from Assigned to Resolved
- % Done changed from 60 to 100
Had to rewrite how tabs and fields save their privacy as there wasn't a reliable tab or field specific trigger to use. It instead just saves on the final registration or profile update triggers.