Changeset View
Changeset View
Standalone View
Standalone View
src/applications/policy/filter/PhabricatorPolicyFilter.php
Show First 20 Lines • Show All 693 Lines • ▼ Show 20 Lines | $exceptions = PhabricatorPolicy::getSpecialRules( | ||||
$object, | $object, | ||||
$this->viewer, | $this->viewer, | ||||
$capability, | $capability, | ||||
true); | true); | ||||
$text_details = array_filter(array_merge($head, $exceptions)); | $text_details = array_filter(array_merge($head, $exceptions)); | ||||
$text_details = implode(' ', $text_details); | $text_details = implode(' ', $text_details); | ||||
$html_details = array($head, $more, $exceptions); | $html_details = array($head, $more, implode(' ', $exceptions)); | ||||
$access_denied = $this->renderAccessDenied($object); | $access_denied = $this->renderAccessDenied($object); | ||||
$full_message = pht( | $full_message = pht( | ||||
'[%s] (%s) %s // %s', | '[%s] (%s) %s // %s', | ||||
$access_denied, | $access_denied, | ||||
$capability_name, | $capability_name, | ||||
$rejection, | $rejection, | ||||
▲ Show 20 Lines • Show All 336 Lines • Show Last 20 Lines |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0