Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F726875
D425.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Jan 6, 2:16 AM
Size
507 B
Mime Type
text/x-diff
Expires
Tue, Jan 7, 2:16 AM (3 d, 1 h ago)
Engine
blob
Format
Raw Data
Handle
536964
Attached To
D425: INP-1821 - Don't check event-based permissions from template for "root" user
D425.diff
View Options
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
Log In to Comment