Commit Graph

5 Commits

Author SHA1 Message Date
David Anderson ae431f96d5 web: code cleanup in delete user area
- functions generally return zero on success
- improve function names
- comment formatting

See https://boinc.berkeley.edu/trac/wiki/CodingStyle

todo: fix translatable strings
2018-07-14 20:14:14 -07:00
Kevin Reed 83ea2bc9ec web: fixing spacing identified by scruitinizer 2018-05-17 09:58:03 -05:00
Kevin Reed 7172942bb0 web: reorganize code so that error_page is not called in inc files 2018-05-16 16:08:19 -05:00
Kevin Reed 2e360d65f9 web: integrate changes from PR 2445 into new delete account/right to be
erased code.  This is the implementation that will be used for the
'obfuscate' account mechanism.
2018-04-30 17:10:12 -05:00
David Anderson 6093ed3a3f Add a mechanism allowing project admins to "delete" a user
This leaves the user record and host records in the DB
to avoid dangling references from the result table.
It:
- changes the user name, email addr, and auth to "deleted_xxx"
- removes the user from team
- removes posts by the user
- removes PMs by the user
- removes friend connection
- removes profile
- "anonymizes" the hosts (erase IP addr and domain name)

Note 1: this is accessed by admins using a script in ops/;
It's not available to users.

Note 2: this may not satisfy the requirements of EU-GDPR
since it doesn't delete the user and host records.
2018-04-03 14:27:10 -07:00