Policy - introduce parentQuery and pass around policy configuration from parent to child
Summary: Ref T603. Ref D6941. Test Plan: Clicked around all over - looked good. I plan to re-test D6941 to make sure the executeOne case works now as intended Reviewers: epriestley Reviewed By: epriestley CC: Korvin, aran Maniphest Tasks: T603 Differential Revision: https://secure.phabricator.com/D6944
This commit is contained in:
@@ -22,6 +22,7 @@ final class PhabricatorMacroPHIDTypeMacro extends PhabricatorPHIDType {
|
||||
|
||||
return id(new PhabricatorMacroQuery())
|
||||
->setViewer($query->getViewer())
|
||||
->setParentQuery($query)
|
||||
->withPHIDs($phids)
|
||||
->execute();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user