Page MenuHomePhabricator

Send forced mail on SSH key edits
ClosedPublic

Authored by epriestley on May 19 2016, 6:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 13, 4:59 PM
Unknown Object (File)
Tue, Dec 3, 8:08 PM
Unknown Object (File)
Nov 11 2024, 5:53 AM
Unknown Object (File)
Nov 9 2024, 5:39 PM
Unknown Object (File)
Oct 30 2024, 1:31 PM
Unknown Object (File)
Oct 20 2024, 4:46 AM
Unknown Object (File)
Oct 9 2024, 3:49 AM
Unknown Object (File)
Sep 12 2024, 8:31 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
Branch
ssh4
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 12272
Build 15509: Run Core Tests
Build 15508: arc lint + arc unit

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.