Page MenuHomePhabricator
Diviner Phabricator Tech Docs PhabricatorPolicyQuery

final class PhabricatorPolicyQuery
Phabricator Technical Documentation (Policy)

This class is not documented.

Methods

public function setObject($object)

This method is not documented.
Parameters
PhabricatorPolicyInterface$object
Return
wild

public function withPHIDs($phids)

This method is not documented.
Parameters
array$phids
Return
wild

public static function loadPolicies($viewer, $object)

This method is not documented.
Parameters
PhabricatorUser$viewer
PhabricatorPolicyInterface$object
Return
wild

public static function renderPolicyDescriptions($viewer, $object)

This method is not documented.
Parameters
PhabricatorUser$viewer
PhabricatorPolicyInterface$object
Return
wild

protected function loadPage()

This method is not documented.
Return
wild

public static function isGlobalPolicy($policy)

This method is not documented.
Parameters
$policy
Return
wild

public static function getGlobalPolicy($policy)

This method is not documented.
Parameters
$policy
Return
wild

private static function getGlobalPolicies()

This method is not documented.
Return
wild

private static function getGlobalPolicyName($policy)

This method is not documented.
Parameters
$policy
Return
wild

private static function getGlobalPolicyShortName($policy)

This method is not documented.
Parameters
$policy
Return
wild

private function loadObjectPolicyPHIDs()

This method is not documented.
Return
wild

protected function shouldDisablePolicyFiltering()

This method is not documented.
Return
wild

public function getQueryApplicationClass()

This method is not documented.
Return
wild

public static function isSpecialPolicy($identifier)

This method is not documented.
Parameters
$identifier
Return
wild

public static function isObjectPolicy($identifier)

This method is not documented.
Parameters
$identifier
Return
wild

public static function getObjectPolicy($identifier)

This method is not documented.
Parameters
$identifier
Return
wild

public static function getObjectPolicyRule($identifier)

This method is not documented.
Parameters
$identifier
Return
wild

public static function getObjectPolicies($object)

This method is not documented.
Parameters
$object
Return
wild

public static function getObjectPolicyRules($object)

This method is not documented.
Parameters
$object
Return
wild

public static function getDefaultPolicyForObject($viewer, $object, $capability)

This method is not documented.
Parameters
PhabricatorUser$viewer
PhabricatorPolicyInterface$object
$capability
Return
wild

private static function getDefaultObjectTypePolicyMap()

This method is not documented.
Return
wild