mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-07 12:28:28 +01:00
247cb94d5a
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
16 lines
345 B
PHP
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.');
|
|
}
|
|
|
|
}
|