mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 08:12:40 +01:00
21 lines
428 B
PHP
21 lines
428 B
PHP
|
<?php
|
||
|
|
||
|
final class HeraldCapabilityManageGlobalRules
|
||
|
extends PhabricatorPolicyCapability {
|
||
|
|
||
|
const CAPABILITY = 'herald.global';
|
||
|
|
||
|
public function getCapabilityKey() {
|
||
|
return self::CAPABILITY;
|
||
|
}
|
||
|
|
||
|
public function getCapabilityName() {
|
||
|
return pht('Can Manage Global Rules');
|
||
|
}
|
||
|
|
||
|
public function describeCapabilityRejection() {
|
||
|
return pht('You do not have permission to manage global Herald rules.');
|
||
|
}
|
||
|
|
||
|
}
|