keratin / authn

Prototype version of AuthN service. See: keratin/authn-server
https://keratin.tech
GNU Lesser General Public License v3.0
34 stars 0 forks source link

Account Archival #17

Closed cainlevy closed 7 years ago

cainlevy commented 7 years ago

closes #14

New Private API

DELETE /accounts/:id

Will archive the account by clearing all personal information -- especially username and password -- and preventing the account from being reused.

Notes

Care must now be taken to use an Account.active.find(id) pattern. I'm wary of Rails' default_scope behavior, and wish to avoid it..