Index: branches/5.2.x/core/units/admin/admin_tag_processor.php =================================================================== diff -u -N -r14244 -r14585 --- branches/5.2.x/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 14244) +++ branches/5.2.x/core/units/admin/admin_tag_processor.php (.../admin_tag_processor.php) (revision 14585) @@ -1,6 +1,6 @@ Application->recallObject('SectionsHelper'); + /* @var $sections_helper kSectionsHelper */ + $section_data =& $sections_helper->getSectionData($params['section_name']); $ret = ''; $block_params = Array('name' => $params['render_as']); ksort($section_data['children'], SORT_NUMERIC); foreach ($section_data['children'] as $priority => $section_name) { - if (!$this->Application->CheckPermission($section_name.'.view', 1)) continue; + $perm_section = $sections_helper->getPermSection($section_name); + if ( !$this->Application->CheckPermission($perm_section.'.view') ) { + continue; + } + $tab_data =& $sections_helper->getSectionData($section_name); $block_params['t'] = $tab_data['url']['t']; $block_params['title'] = $tab_data['label']; @@ -573,6 +579,8 @@ /* @var $updater kPermCacheUpdater */ $updater->OneStepRun(); + + $this->Application->HandleEvent($event, 'c:OnResetCMSMenuCache'); } else { // update with progress bar