1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-07 20:38:32 +01:00
phorge-phorge/src/applications/almanac/capability/AlmanacCreateDevicesCapability.php

17 lines
345 B
PHP
Raw Normal View History

<?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.');
}
}