Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F96155284
PhabricatorAdministratorsPolicyRule.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, Dec 23, 06:21
Size
355 B
Mime Type
text/x-php
Expires
Wed, Dec 25, 06:21 (1 d, 20 h)
Engine
blob
Format
Raw Data
Handle
23135630
Attached To
rPH Phabricator
PhabricatorAdministratorsPolicyRule.php
View Options
<?php
final
class
PhabricatorAdministratorsPolicyRule
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