mirror of
https://we.phorge.it/source/phorge.git
synced 2025-01-10 23:01:04 +01:00
Make pastes inherit visibility from their parent
Summary: good title Test Plan: set a paste visibility to administrator then forked it. noted new paste had administrators selected. saved it and verified administrators was the value. Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Maniphest Tasks: T1833 Differential Revision: https://secure.phabricator.com/D3570
This commit is contained in:
parent
9f09144117
commit
27c97571c0
1 changed files with 1 additions and 0 deletions
|
@ -49,6 +49,7 @@ final class PhabricatorPasteEditController extends PhabricatorPasteController {
|
|||
|
||||
if ($parent) {
|
||||
$paste->setParentPHID($parent->getPHID());
|
||||
$paste->setViewPolicy($parent->getViewPolicy());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue