Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98198942
ProjectCapabilityCreateProjects.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, Jan 10, 23:36
Size
416 B
Mime Type
text/x-php
Expires
Sun, Jan 12, 23:36 (2 d)
Engine
blob
Format
Raw Data
Handle
23530115
Attached To
rPH Phabricator
ProjectCapabilityCreateProjects.php
View Options
<?php
final
class
ProjectCapabilityCreateProjects
extends
PhabricatorPolicyCapability
{
const
CAPABILITY
=
'project.create'
;
public
function
getCapabilityKey
()
{
return
self
::
CAPABILITY
;
}
public
function
getCapabilityName
()
{
return
pht
(
'Can Create Projects'
);
}
public
function
describeCapabilityRejection
()
{
return
pht
(
'You do not have permission to create new projects.'
);
}
}
Event Timeline
Log In to Comment