Homestyx hydra
Diffusion hydra 6f6ca0102daa

Send forced mail on SSH key edits

Description

Send forced mail on SSH key edits

Summary:
Ref T10917. This cheats fairly heavily to generate SSH key mail:

  • Generate normal transaction mail.
  • Force it to go to the user.
  • Use setForceDelivery() to force it to actually be delivered.
  • Add some warning language to the mail body.

This doesn't move us much closer to Glorious Infrastructure for this whole class of events, but should do what it needs to for now and doesn't really require anything sketchy.

Test Plan: Created and edited SSH keys, got security notice mail.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T10917

Differential Revision: https://secure.phabricator.com/D15948

Details

Provenance
epriestleyAuthored on May 19 2016, 1:34 PM
sirocylPushed on Oct 16 2024, 5:49 AM
Parents
R1:da6b3de65c14: Use transactions to apply web UI SSH key edits
Branches
Unknown
Tags
Unknown

Event Timeline