Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F112728798
PhabricatorPolicyRuleAdministrators.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, May 12, 15:50
Size
357 B
Mime Type
text/x-php
Expires
Wed, May 14, 15:50 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
26137768
Attached To
rPH Phabricator
PhabricatorPolicyRuleAdministrators.php
View Options
<?php
final
class
PhabricatorPolicyRuleAdministrators
extends
PhabricatorPolicyRule
{
public
function
getRuleDescription
()
{
return
pht
(
'administrators'
);
}
public
function
applyRule
(
PhabricatorUser
$viewer
,
$value
)
{
return
$viewer
->
getIsAdmin
();
}
public
function
getValueControlType
()
{
return
self
::
CONTROL_TYPE_NONE
;
}
}
Event Timeline
Log In to Comment