mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-15 00:08:37 +01:00
21 lines
436 B
PHP
21 lines
436 B
PHP
|
<?php
|
||
|
|
||
|
final class DrydockCapabilityCreateBlueprints
|
||
|
extends PhabricatorPolicyCapability {
|
||
|
|
||
|
const CAPABILITY = 'drydock.blueprint.create';
|
||
|
|
||
|
public function getCapabilityKey() {
|
||
|
return self::CAPABILITY;
|
||
|
}
|
||
|
|
||
|
public function getCapabilityName() {
|
||
|
return pht('Can Create Blueprints');
|
||
|
}
|
||
|
|
||
|
public function describeCapabilityRejection() {
|
||
|
return pht('You do not have permission to create Drydock blueprints.');
|
||
|
}
|
||
|
|
||
|
}
|