Page 1 of 1

Front End Users (FEU) user self deletion

Posted: Fri Jan 07, 2011 3:00 pm
by rmm
I am running CMSMS 1.8 with modules:
  • SelfRegistration 1.6.1
  • FrontEndUsers 1.12
  • CG Extensions 1.19.2
Users can self register and then login and modify their details through FEU. I would like them to be able to self delete. In other words if a user decides they no longer want to be registered they should be able to login (to the front end not the admin site) then delete their own entry. I am not aware of a built-in way to do this (have seached the forums), I assume it would be part of FEU rather than part of SelfRegistration but happy to be corrected. Has anyone tried this and found a way to do it safely and securely? I am looking at the action.do_deleteuser.php code as that is what deletes users from the admin side. Is it possible to use this from the front end of the website but without needing to be logged in as an admin user?

Would appreciate any help/guidance. Thanks

Re: Front End Users (FEU) user self deletion

Posted: Fri Jan 07, 2011 7:30 pm
by jmcgin51
Almost certain this is not possible in the current FEU module. You could submit a feature request in the Forge.

In the interim, you might be able to set up an FEU form that would change the group assignment of the user (i.e. from the "active" group with appropriate permissions, to the "deleted" group with no permissions). This would not actually delete the user, but would just change the assignment.

An administrator would still need to officially delete the account.

Re: Front End Users (FEU) user self deletion

Posted: Fri Jan 07, 2011 9:07 pm
by rmm
Thanks, that does sound like a good compromise and probably safer way of doing things anyway, as it would take two people to finally delete someone.