1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 09:42:41 +01:00
phorge-phorge/src/applications/people/capability/PeopleBrowseUserDirectoryCapability.php

21 lines
433 B
PHP
Raw Normal View History

<?php
final class PeopleBrowseUserDirectoryCapability
extends PhabricatorPolicyCapability {
const CAPABILITY = 'people.browse';
public function getCapabilityName() {
return pht('Can Browse User Directory');
}
public function shouldAllowPublicPolicySetting() {
return true;
}
public function describeCapabilityRejection() {
return pht('You do not have permission to browse the user directory.');
}
}