Allow user to unsubscribe from platform
A configuration setting should allow an institution to decide whether users can unsubscribe completely from a Chamilo installation. In this case, a new element of the user menu will show "Unsubscribe" and when clicked, show a page that says:
$UnsubscribeFromPlatform = "If you want to unsubscribe completely from this campus and have all your information removed from our database, please click the button below and confirm.";
Then the JS alert should say:
$UnsubscribeFromPlatformConfirm = "Yes, I want to remove this account completely. No data will remain on the server and I will be unable to login again, unless I create a completely new account.";
Then the confirmation page:
$UnsubscribeFromPlatformSuccess = "Your account %s has been completely removed from this portal. Thank you for staying with us for a while. We hope to see you again later.";
Because we want to show this message inside the interface, it is necessary to remove the user account after the message has been sent (so we break the MVC logic a little bit here).
The Admin setting for this should be available in the users section, as platform_unsubscribe_allowed and be set to a default value of "false".
$PlatformUnsubscribeTitle = "Allow unsubscription from platform";
$PlatformUnsubscribeComment = "By enabling this option, you allow any user to definitively remove his own account and all data related to it from the platform. This is quite a radical action, but it is necessary for portals opened to the public where users can auto-register. An additional entry will appear in the user profile to unsubscribe after confirmation.";
Updated by Julio Montoya about 8 years ago
- Status changed from New to Needs more info
- Assignee set to Yannick Warnier
Where should I put this option?
I suppose in the "edit profile" page?
I will add a link: "Delete account" I think is better than "unsubcribe", this link will be only available if you click in the "edit profile" ...