mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 09:20:58 +01:00
Publish books with the most-open policy
Summary: Ref T4558. When publishing a new Diviner book, use the most-open policy instead of `PhabricatorPolicies::POLICY_USER`. Test Plan: Ran `diviner generate` in a directory which didn't have published Diviner documentation. Reviewers: #blessed_reviewers, epriestley Reviewed By: #blessed_reviewers, epriestley Subscribers: epriestley, Korvin Maniphest Tasks: T4558 Differential Revision: https://secure.phabricator.com/D13254
This commit is contained in:
parent
e74f027f0a
commit
addcef962b
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ final class DivinerLivePublisher extends DivinerPublisher {
|
|||
if (!$book) {
|
||||
$book = id(new DivinerLiveBook())
|
||||
->setName($book_name)
|
||||
->setViewPolicy(PhabricatorPolicies::POLICY_USER)
|
||||
->setViewPolicy(PhabricatorPolicies::getMostOpenPolicy())
|
||||
->save();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue