Page MenuHomec4science

PhabricatorAdministratorsPolicyRule.php
No OneTemporary

File Metadata

Created
Mon, Dec 23, 06:21

PhabricatorAdministratorsPolicyRule.php

<?php
final class PhabricatorAdministratorsPolicyRule extends PhabricatorPolicyRule {
public function getRuleDescription() {
return pht('administrators');
}
public function applyRule(PhabricatorUser $viewer, $value) {
return $viewer->getIsAdmin();
}
public function getValueControlType() {
return self::CONTROL_TYPE_NONE;
}
}

Event Timeline