Page MenuHomePhabricator
Diviner Phabricator Tech Docs ProjectCreateProjectsCapability

final class ProjectCreateProjectsCapability
Phabricator Technical Documentation (Projects)

This class is not documented.

Methods

final public function getCapabilityKey()
Inherited

PhabricatorPolicyCapability

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.

public function getCapabilityName()

PhabricatorPolicyCapability

Return a human-readable descriptive name for this capability, like "Can View".

ProjectCreateProjectsCapability
This method is not documented.
Return
stringHuman-readable name describing the capability.

public function describeCapabilityRejection()

PhabricatorPolicyCapability

Return a human-readable string describing what not having this capability prevents the user from doing. For example:

  • You do not have permission to edit this object.
  • You do not have permission to create new tasks.
ProjectCreateProjectsCapability
This method is not documented.
Return
stringHuman-readable name describing what failing a check for this capability prevents the user from doing.

public function shouldAllowPublicPolicySetting()
Inherited

PhabricatorPolicyCapability

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)
Inherited

This method is not documented.
Parameters
$key
Return
wild

final public static function getCapabilityMap()
Inherited

This method is not documented.
Return
wild