Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92694658
PhabricatorPolicyCanViewCapability.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
Fri, Nov 22, 20:42
Size
438 B
Mime Type
text/x-php
Expires
Sun, Nov 24, 20:42 (2 d)
Engine
blob
Format
Raw Data
Handle
22489074
Attached To
rPH Phabricator
PhabricatorPolicyCanViewCapability.php
View Options
<?php
final
class
PhabricatorPolicyCanViewCapability
extends
PhabricatorPolicyCapability
{
public
function
getCapabilityKey
()
{
return
self
::
CAN_VIEW
;
}
public
function
getCapabilityName
()
{
return
pht
(
'Can View'
);
}
public
function
describeCapabilityRejection
()
{
return
pht
(
'You do not have permission to view this object.'
);
}
public
function
shouldAllowPublicPolicySetting
()
{
return
true
;
}
}
Event Timeline
Log In to Comment