Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90897201
PhabricatorPolicyCapabilityCanView.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
Tue, Nov 5, 18:41
Size
438 B
Mime Type
text/x-php
Expires
Thu, Nov 7, 18:41 (2 d)
Engine
blob
Format
Raw Data
Handle
22152924
Attached To
rPH Phabricator
PhabricatorPolicyCapabilityCanView.php
View Options
<?php
final
class
PhabricatorPolicyCapabilityCanView
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