Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F107324557
HeraldCapabilityCreateRules.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, Apr 7, 04:33
Size
412 B
Mime Type
text/x-php
Expires
Wed, Apr 9, 04:33 (2 d)
Engine
blob
Format
Raw Data
Handle
25383124
Attached To
rPH Phabricator
HeraldCapabilityCreateRules.php
View Options
<?php
final
class
HeraldCapabilityCreateRules
extends
PhabricatorPolicyCapability
{
const
CAPABILITY
=
'herald.create'
;
public
function
getCapabilityKey
()
{
return
self
::
CAPABILITY
;
}
public
function
getCapabilityName
()
{
return
pht
(
'Can Create Rules'
);
}
public
function
describeCapabilityRejection
()
{
return
pht
(
'You do not have permission to create new Herald rules.'
);
}
}
Event Timeline
Log In to Comment