Web based family history software

Question Self-removal of a user

More
2 years 11 months ago #1 by wuja
Self-removal of a user was created by wuja
How to prevent the user from deleting the account by himself?

www.kin.wojciechgracz.pl webtrees 2.0.19

Please Log in or Create an account to join the conversation.

  • fisharebest
  • Away
  • Administrator
  • Administrator
More
2 years 11 months ago #2 by fisharebest
Replied by fisharebest on topic Self-removal of a user
GDPR and other rules say that users should be able to delete accounts that they no longer need.

If a user wants to delete their account, what will you do?


I guess you could remove the delete button on the account-edit page, using JavaScript. e.g. something like this
Code:
let btn = document.querySelector('.wt-route-AccountEdit .btn-delete'); if (btn) { let row = btn.parentNode; row.parentNode.removeChild(row); }

Greg Roach - greg@subaqua.co.uk - @fisharebest@phpc.social - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #3 by wuja
Replied by wuja on topic Self-removal of a user

If a user wants to delete their account, what will you do?
I will delete it, but before that, I will ask the victim to think about it.
One such person removed himself because he was offended. It gets a little messy: there is no culprit in the recent shifts.

www.kin.wojciechgracz.pl webtrees 2.0.19

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum