Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93849078
DiffusionPushCapability.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
Mon, Dec 2, 00:09
Size
399 B
Mime Type
text/x-php
Expires
Wed, Dec 4, 00:09 (2 d)
Engine
blob
Format
Raw Data
Handle
22712277
Attached To
rPH Phabricator
DiffusionPushCapability.php
View Options
<?php
final
class
DiffusionPushCapability
extends
PhabricatorPolicyCapability
{
const
CAPABILITY
=
'diffusion.push'
;
public
function
getCapabilityKey
()
{
return
self
::
CAPABILITY
;
}
public
function
getCapabilityName
()
{
return
pht
(
'Can Push'
);
}
public
function
describeCapabilityRejection
()
{
return
pht
(
'You do not have permission to push to this repository.'
);
}
}
Event Timeline
Log In to Comment