Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/phabricator
Path: blob/master/src/applications/herald/capability/HeraldCreateWebhooksCapability.php
12256 views
1
<?php
2
3
final class HeraldCreateWebhooksCapability
4
extends PhabricatorPolicyCapability {
5
6
const CAPABILITY = 'herald.webhooks';
7
8
public function getCapabilityName() {
9
return pht('Can Create Webhooks');
10
}
11
12
public function describeCapabilityRejection() {
13
return pht('You do not have permission to create webhooks.');
14
}
15
16
}
17
18