Page MenuHomePhabricator

Don't allow welcome mail to be sent to users who can't login
ClosedPublic

Authored by epriestley on Sep 19 2015, 11:48 PM.
Tags
None
Referenced Files
F17834269: D14134.id.diff
Sat, Jul 26, 2:12 PM
F17795245: D14134.id34139.diff
Fri, Jul 25, 12:12 AM
F17751680: D14134.diff
Tue, Jul 22, 5:54 AM
F17605135: D14134.id34146.diff
Wed, Jul 9, 12:50 AM
Unknown Object (File)
Tue, Jul 8, 3:56 AM
Unknown Object (File)
Tue, Jul 8, 3:25 AM
Unknown Object (File)
Jun 15 2025, 9:38 PM
Unknown Object (File)
Jun 15 2025, 9:33 PM
Subscribers
None

Details

Summary

Fixes T9446. We allow administrators to send "Welcome" mail to bots and mailing lists.

This is harmless (these links do not function), but confusing.

Instead, disable this option in the UI and explain why it is disabled when it is clicked. Also prevent generation of this mail lower in the stack.

Test Plan
  • Viewed a bot page, saw action disabled, clicked it, got explanation.
  • Viewed a normal user page, saw action enabled, clicked it, sent welcome email.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

epriestley retitled this revision from to Don't allow welcome mail to be sent to users who can't login.
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.Sep 20 2015, 1:42 AM
This revision was automatically updated to reflect the committed changes.