Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F15335728
D13137.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
980 B
Referenced Files
None
Subscribers
None
D13137.diff
View Options
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())
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 9, 5:32 PM (2 w, 5 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7390091
Default Alt Text
D13137.diff (980 B)
Attached To
Mode
D13137: Allow administrators to configure "Email Format" settings for lists
Attached
Detach File
Event Timeline
Log In to Comment