Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99772283
DiffusionCapabilityPush.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, Jan 26, 13:39
Size
401 B
Mime Type
text/x-php
Expires
Tue, Jan 28, 13:39 (2 d)
Engine
blob
Format
Raw Data
Handle
23819633
Attached To
rPH Phabricator
DiffusionCapabilityPush.php
View Options
<?php
final
class
DiffusionCapabilityPush
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