Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F803818
D425.id1084.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
Wed, Feb 26, 8:58 AM
Size
462 B
Mime Type
text/x-diff
Expires
Thu, Feb 27, 8:58 AM (7 h, 47 m)
Engine
blob
Format
Raw Data
Handle
576542
Attached To
D425: INP-1821 - Don't check event-based permissions from template for "root" user
D425.id1084.diff
View Options
Index: core/units/helpers/permissions_helper.php
===================================================================
--- core/units/helpers/permissions_helper.php
+++ 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