Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F93573594
DiffusionCreateRepositoriesCapability.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 29, 20:42
Size
432 B
Mime Type
text/x-php
Expires
Sun, Dec 1, 20:42 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22666362
Attached To
rPH Phabricator
DiffusionCreateRepositoriesCapability.php
View Options
<?php
final
class
DiffusionCreateRepositoriesCapability
extends
PhabricatorPolicyCapability
{
const
CAPABILITY
=
'diffusion.create'
;
public
function
getCapabilityKey
()
{
return
self
::
CAPABILITY
;
}
public
function
getCapabilityName
()
{
return
pht
(
'Can Create Repositories'
);
}
public
function
describeCapabilityRejection
()
{
return
pht
(
'You do not have permission to create new repositories.'
);
}
}
Event Timeline
Log In to Comment