Merge branch 'master' into redesign-2015
This commit is contained in:
@@ -37,6 +37,12 @@ final class PhabricatorHandleQuery
|
||||
->requireCapabilities($this->getRequiredObjectCapabilities())
|
||||
->setViewer($this->getViewer());
|
||||
|
||||
// We never want the subquery to raise policy exceptions, even if this
|
||||
// query is being executed via executeOne(). Policy exceptions are not
|
||||
// meaningful or relevant for handles, which load in an "Unknown" or
|
||||
// "Restricted" state after encountering a policy violation.
|
||||
$object_query->setRaisePolicyExceptions(false);
|
||||
|
||||
$objects = $object_query->execute();
|
||||
$filtered = $object_query->getPolicyFilteredPHIDs();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user