Index: branches/unlabeled/unlabeled-1.9.2/core/units/permissions/permissions_tag_processor.php =================================================================== diff -u -r7014 -r7053 --- branches/unlabeled/unlabeled-1.9.2/core/units/permissions/permissions_tag_processor.php (.../permissions_tag_processor.php) (revision 7014) +++ branches/unlabeled/unlabeled-1.9.2/core/units/permissions/permissions_tag_processor.php (.../permissions_tag_processor.php) (revision 7053) @@ -32,10 +32,15 @@ function PermissionValue($params) { $section_name = $params['section_name']; - + $perm_name = $params['perm_name']; + $sections_helper =& $this->Application->recallObject('SectionsHelper'); $section_data =& $sections_helper->getSectionData($section_name); - $perm_name = $params['perm_name']; + + if ($section_data && isset($section_data['perm_prefix'])) { + // using permission from other prefix + $section_name = $this->Application->getUnitOption($section_data['perm_prefix'].'.main', 'PermSection'); + } $permissions_helper =& $this->Application->recallObject('PermissionsHelper'); if (!$permissions_helper->isOldPermission($section_name, $perm_name)) {