Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F847904
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
Sat, Apr 19, 7:43 PM
Size
507 B
Mime Type
text/x-diff
Expires
Sun, Apr 20, 7:43 PM (59 m, 1 s)
Engine
blob
Format
Raw Data
Handle
602685
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