Page MenuHomec4science

PeopleBrowseUserDirectoryCapability.php
No OneTemporary

File Metadata

Created
Tue, Nov 26, 05:47

PeopleBrowseUserDirectoryCapability.php

<?php
final class PeopleBrowseUserDirectoryCapability
extends PhabricatorPolicyCapability {
const CAPABILITY = 'people.browse';
public function getCapabilityKey() {
return self::CAPABILITY;
}
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.');
}
}

Event Timeline