Differential D15339 Diff 37003 src/applications/almanac/capability/AlmanacManageClusterServicesCapability.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/almanac/capability/AlmanacManageClusterServicesCapability.php
- This file was moved from src/applications/almanac/capability/AlmanacCreateClusterServicesCapability.php.
<?php | <?php | ||||
final class AlmanacCreateClusterServicesCapability | final class AlmanacManageClusterServicesCapability | ||||
extends PhabricatorPolicyCapability { | extends PhabricatorPolicyCapability { | ||||
const CAPABILITY = 'almanac.cluster'; | const CAPABILITY = 'almanac.cluster'; | ||||
public function getCapabilityName() { | public function getCapabilityName() { | ||||
return pht('Can Create Cluster Services'); | return pht('Can Manage Cluster Services'); | ||||
} | } | ||||
public function describeCapabilityRejection() { | public function describeCapabilityRejection() { | ||||
return pht( | return pht( | ||||
'You do not have permission to create Almanac cluster services.'); | 'You do not have permission to manage Almanac cluster services.'); | ||||
} | } | ||||
} | } |