Home GnuPG

Send forced mail on SSH key edits
6f6ca0102daaUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

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
epriestley <git@epriestley.com>Authored on May 19 2016, 7:34 PM
Parents
rPHABda6b3de65c14: Use transactions to apply web UI SSH key edits
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHAB6f6ca0102daa: Send forced mail on SSH key edits (authored by epriestley <git@epriestley.com>).May 20 2016, 12:01 AM