Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F472044
PhabricatorAdministratorsPolicyRule.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
355 B
Referenced Files
None
Subscribers
None
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
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Tue, May 6, 4:04 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
83224
Default Alt Text
PhabricatorAdministratorsPolicyRule.php (355 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment