diff --git a/src/applications/settings/panel/PhabricatorEmailFormatSettingsPanel.php b/src/applications/settings/panel/PhabricatorEmailFormatSettingsPanel.php --- a/src/applications/settings/panel/PhabricatorEmailFormatSettingsPanel.php +++ b/src/applications/settings/panel/PhabricatorEmailFormatSettingsPanel.php @@ -15,8 +15,17 @@ return pht('Email'); } + public function isEditableByAdministrators() { + if ($this->getUser()->getIsMailingList()) { + return true; + } + + return false; + } + public function processRequest(AphrontRequest $request) { - $user = $request->getUser(); + $viewer = $this->getViewer(); + $user = $this->getUser(); $preferences = $user->loadPreferences(); @@ -98,7 +107,7 @@ $form = new AphrontFormView(); $form - ->setUser($user); + ->setUser($viewer); if (PhabricatorMetaMTAMail::shouldMultiplexAllMail()) { $html_email_control = id(new AphrontFormSelectControl())