-
Type: Bug Report
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 5.0.0
-
Fix Version/s: 5.0.2
-
Component/s: Permissions
-
Labels:None
-
External issue URL:
-
Additional information:
-
External issue ID:241
-
Copy Issue Key:
-
Patch Instructions:
When you try to call given code inside "kDBEventHandler::SetCustomQuery" method, then you get fatal error about unknown prefix.
$perm_section = $event->getSection();
$allowed = $this->Application->CheckPermission($perm_section . '.advanced:permission_name');
There are no places in default installation when such error happens, only in customizations.