Index: branches/5.2.x/core/kernel/db/cat_event_handler.php =================================================================== --- branches/5.2.x/core/kernel/db/cat_event_handler.php +++ branches/5.2.x/core/kernel/db/cat_event_handler.php @@ -128,10 +128,14 @@ return $perm_helper->finalizePermissionCheck($event, $perm_value); } - $export_events = Array ('OnSaveSettings', 'OnResetSettings', 'OnExportBegin'); - if ( in_array($event->Name, $export_events) ) { - // when import settings before selecting target import category - return $this->Application->CheckPermission('in-portal:main_import.view'); + $export_events = array('OnSaveSettings', 'OnResetSettings', 'OnExportBegin'); + + if ( in_array($event->Name, $export_events) || ($event->Special == 'export' && $event->Name == 'OnNew') ) { + /** @var kPermissionsHelper $perm_helper */ + $perm_helper = $this->Application->recallObject('PermissionsHelper'); + $perm_value = $this->Application->CheckPermission('in-portal:main_import.view'); + + return $perm_helper->finalizePermissionCheck($event, $perm_value); } if ( $event->Name == 'OnProcessSelected' ) {