Page MenuHomeGitPull.it
Diviner Tech Docs PhabricatorPolicyCapability

abstract class PhabricatorPolicyCapability
Phorge Technical Documentation (Policy)

This class is not documented.

Methods

final public function getCapabilityKey()

Get the unique key identifying this capability. This key must be globally unique. Application capabilities should be namespaced. For example:

application.create
Return
stringGlobally unique capability key.

Can this capability be set to "public"? Broadly, this is only appropriate for view and view-related policies.

Return
boolTrue to allow the "public" policy. Returns false by default.

final public static function getCapabilityByKey($key)

This method is not documented.
Parameters
$key
Return
wild

final public static function getCapabilityMap()

This method is not documented.
Return
wild