mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-07 20:38:32 +01:00
17 lines
345 B
PHP
17 lines
345 B
PHP
|
<?php
|
||
|
|
||
|
final class AlmanacCreateDevicesCapability
|
||
|
extends PhabricatorPolicyCapability {
|
||
|
|
||
|
const CAPABILITY = 'almanac.devices';
|
||
|
|
||
|
public function getCapabilityName() {
|
||
|
return pht('Can Create Devices');
|
||
|
}
|
||
|
|
||
|
public function describeCapabilityRejection() {
|
||
|
return pht('You do not have permission to create Almanac devices.');
|
||
|
}
|
||
|
|
||
|
}
|