1
0
Fork 0
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:
Bob Trahan 2012-09-30 20:08:37 -07:00
parent 9f09144117
commit 27c97571c0

View file

@ -49,6 +49,7 @@ final class PhabricatorPasteEditController extends PhabricatorPasteController {
if ($parent) {
$paste->setParentPHID($parent->getPHID());
$paste->setViewPolicy($parent->getViewPolicy());
}
}