3 final class PhabricatorAdministratorsPolicyRule
extends PhabricatorPolicyRule
{
5 public function getRuleDescription() {
6 return pht('administrators');
9 public function applyRule(
10 PhabricatorUser
$viewer,
12 PhabricatorPolicyInterface
$object) {
13 return $viewer->getIsAdmin();
16 public function getValueControlType() {
17 return self
::CONTROL_TYPE_NONE
;