1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-09-22 18:28:47 +02:00
phorge-phorge/src/applications/herald/capability/HeraldCapabilityManageGlobalRules.php

21 lines
428 B
PHP
Raw Normal View History

<?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.');
}
}