Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F436282
PhabricatorPolicyRuleAdministrators.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
357 B
Referenced Files
None
Subscribers
None
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
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sat, May 3, 10:46 PM (1 d, 13 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
61710
Default Alt Text
PhabricatorPolicyRuleAdministrators.php (357 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment