Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2895720
PhabricatorAdministratorsPolicyRule.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
404 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
,
PhabricatorPolicyInterface
$object
)
{
return
$viewer
->
getIsAdmin
(
)
;
}
public
function
getValueControlType
(
)
{
return
self
::
CONTROL_TYPE_NONE
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Jan 19 2025, 21:55 (6 w, 2 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1129155
Default Alt Text
PhabricatorAdministratorsPolicyRule.php (404 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment