Page MenuHomePhabricator

Send forced mail on SSH key edits
ClosedPublic

Authored by epriestley on May 19 2016, 6:04 PM.
Tags
None
Referenced Files
F15379843: D15948.diff
Thu, Mar 13, 11:45 PM
F15352766: D15948.id38408.diff
Mon, Mar 10, 6:27 PM
F15337184: D15948.diff
Sun, Mar 9, 4:35 AM
F15311723: D15948.id38402.diff
Thu, Mar 6, 10:25 AM
Unknown Object (File)
Mon, Feb 24, 9:02 PM
Unknown Object (File)
Sun, Feb 16, 6:51 AM
Unknown Object (File)
Feb 10 2025, 9:31 AM
Unknown Object (File)
Feb 9 2025, 1:38 AM
Subscribers
None

Details

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Send forced mail on SSH key edits.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added a reviewer: chad.
chad edited edge metadata.
This revision is now accepted and ready to land.May 19 2016, 9:57 PM
This revision was automatically updated to reflect the committed changes.