Page MenuHomec4science

PeopleBrowseUserDirectoryCapability.php
No OneTemporary

File Metadata

Created
Sun, Dec 1, 21:09

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