mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 20:40:56 +01:00
T6869, Mailing list "Public (No Login Required)" name should be visible to logged out users.
Summary: When viewing a task with a mailing list CC where the mailing list is public, logged out user should see the name of the mailing list Test Plan: Create public mailing list, CC mailing list on task, logout and view task, mailing list name should still be visible on the task Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11290
This commit is contained in:
parent
6c7e0e2807
commit
8ddb9e2875
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ final class PhabricatorMetaMTAMailingList extends PhabricatorMetaMTADAO
|
|||
}
|
||||
|
||||
public function getPolicy($capability) {
|
||||
return PhabricatorPolicies::POLICY_USER;
|
||||
return PhabricatorPolicies::getMostOpenPolicy();
|
||||
}
|
||||
|
||||
public function hasAutomaticCapability($capability, PhabricatorUser $viewer) {
|
||||
|
|
Loading…
Reference in a new issue