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)
Sun, Mar 10, 10:35 AM
Unknown Object (File)
Feb 14 2024, 1:43 PM
Unknown Object (File)
Feb 13 2024, 11:01 PM
Unknown Object (File)
Feb 13 2024, 10:23 PM
Unknown Object (File)
Feb 13 2024, 10:23 PM
Unknown Object (File)
Feb 10 2024, 8:36 AM
Unknown Object (File)
Feb 6 2024, 4:27 PM
Unknown Object (File)
Feb 3 2024, 10:11 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.