diff --git a/templates/partials/app-main-aside.phtml b/templates/partials/app-main-aside.phtml index 58a4e1d..f9553d8 100644 --- a/templates/partials/app-main-aside.phtml +++ b/templates/partials/app-main-aside.phtml @@ -17,7 +17,6 @@ $canViewJobs = (bool) ($layoutAuth['can_view_jobs'] ?? false); $canViewDocs = (bool) ($layoutAuth['can_view_docs'] ?? false); $canViewMailLog = (bool) ($layoutAuth['can_view_mail_log'] ?? false); $canViewStats = (bool) ($layoutAuth['can_view_stats'] ?? false); -$canViewSystemInfo = (bool) ($layoutAuth['can_view_system_info'] ?? false); $docsDefaultSlug = DocsCatalogService::defaultSlug(); $docsDefaultPath = 'admin/docs/' . $docsDefaultSlug; $hasOrganization = $canViewTenants || $canViewDepartments || $canViewUsers; @@ -25,7 +24,7 @@ $hasUsersSection = $canViewRoles || $canViewPermissions; $hasAutomationSection = $canViewImports || $canViewJobs; $hasMonitoringSection = $canViewStats; $hasLogsSection = $canViewMailLog; -$hasSystemSection = $canViewSettings || $canViewSystemInfo || $canViewDocs; +$hasSystemSection = $canViewSettings; $hasAdminPanel = layoutHasAdminPanel($layoutAuth); // Declarative nav config for admin panel groups @@ -146,20 +145,6 @@ $adminNavGroups = [ 'visible' => $canViewSettings, 'withTenant' => false, ], - [ - 'label' => t('System Info'), - 'path' => 'admin/system-info', - 'active' => navActive('admin/system-info', true), - 'visible' => $canViewSystemInfo, - 'withTenant' => false, - ], - [ - 'label' => t('Documentation'), - 'path' => $docsDefaultPath, - 'active' => navActive('admin/docs', true), - 'visible' => $canViewDocs, - 'withTenant' => false, - ], ], ], ];