Differential D14321 Diff 34619 src/applications/harbormaster/capability/HarbormasterCreatePlansCapability.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/capability/HarbormasterCreatePlansCapability.php
- This file was moved from src/applications/harbormaster/capability/HarbormasterManagePlansCapability.php.
<?php | <?php | ||||
final class HarbormasterManagePlansCapability | final class HarbormasterCreatePlansCapability | ||||
extends PhabricatorPolicyCapability { | extends PhabricatorPolicyCapability { | ||||
const CAPABILITY = 'harbormaster.plans'; | const CAPABILITY = 'harbormaster.plans'; | ||||
public function getCapabilityName() { | public function getCapabilityName() { | ||||
return pht('Can Manage Build Plans'); | return pht('Can Create Build Plans'); | ||||
} | } | ||||
public function describeCapabilityRejection() { | public function describeCapabilityRejection() { | ||||
return pht( | return pht( | ||||
'You do not have permission to manage Harbormaster build plans.'); | 'You do not have permission to create Harbormaster build plans.'); | ||||
} | } | ||||
} | } |