Commit Graph

1 Commits

Author SHA1 Message Date
Ben Rinaca eced372060 audit pseudonym deletion
refs FOO-2959

rather than log diving when a user's login is deleted, we can record
the who and where for easy look-up.

test plan:
* create a user with multiple logins
* delete one of those logins
* find the login record in the rails console and do `.auditor_records`
  to it, you should get a record that shows you who did it, when, and
  where

flag = none
although there is a killswitch, pseudonym_auditor_killswitch, if it
needs to be turned off for some reason

[pin-commit-multiple_root_accounts=5dc6158fa2023833311a3c8f7bf037b1d517ac26]

Change-Id: I7828d0b96be4790c2cfbf92d821a371b9a290867
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/293431
Reviewed-by: Jacob Burroughs <jburroughs@instructure.com>
Migration-Review: Jacob Burroughs <jburroughs@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Ben Rinaca <brinaca@instructure.com>
Product-Review: Jesse Poulos <jpoulos@instructure.com>
2022-06-10 15:52:11 +00:00