Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93602661
PhragmentCanCreateCapability.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
Sat, Nov 30, 02:17
Size
411 B
Mime Type
text/x-php
Expires
Mon, Dec 2, 02:17 (2 d)
Engine
blob
Format
Raw Data
Handle
22674211
Attached To
rPH Phabricator
PhragmentCanCreateCapability.php
View Options
<?php
final
class
PhragmentCanCreateCapability
extends
PhabricatorPolicyCapability
{
const
CAPABILITY
=
'phragment.create'
;
public
function
getCapabilityKey
()
{
return
self
::
CAPABILITY
;
}
public
function
getCapabilityName
()
{
return
pht
(
'Can Create Fragments'
);
}
public
function
describeCapabilityRejection
()
{
return
pht
(
'You do not have permission to create fragments.'
);
}
}
Event Timeline
Log In to Comment