1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-02-07 12:28:28 +01:00
phorge-phorge/src/applications/almanac/capability/AlmanacCreateDevicesCapability.php
epriestley 247cb94d5a Build AlmanacDevice UI
Summary: Ref T5833. The "uninteresting" part of this object is virtually identical to AlmanacService.

Test Plan: See screenshots.

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T5833

Differential Revision: https://secure.phabricator.com/D10714
2014-10-17 05:02:14 -07:00

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