Page MenuHomeIn-Portal Phabricator

D425.diff
No OneTemporary

File Metadata

Created
Mon, Jan 6, 2:16 AM

D425.diff

Index: branches/5.2.x/core/units/helpers/permissions_helper.php
===================================================================
--- branches/5.2.x/core/units/helpers/permissions_helper.php
+++ branches/5.2.x/core/units/helpers/permissions_helper.php
@@ -444,7 +444,7 @@
}
return false;
}
- elseif ($perm_event) {
+ elseif ( $perm_event && !$this->Application->permissionCheckingDisabled() ) {
// check permission by event name
list ($prefix, ) = explode(':', $perm_event);

Event Timeline