Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93833038
PeopleBrowseUserDirectoryCapability.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Dec 1, 21:09
Size
506 B
Mime Type
text/x-php
Expires
Tue, Dec 3, 21:09 (2 d)
Engine
blob
Format
Raw Data
Handle
22712173
Attached To
rPH Phabricator
PeopleBrowseUserDirectoryCapability.php
View Options
<?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
Log In to Comment