geenforce: move settings into the Settings rail
The client IP allowlist config was a tab inside the GE-Enforce section; move it to the Settings rail via get_settings_cards (matches printedparts / zabbix / dell). Route relocated from /geenforce/settings to /settings/geenforce; the in-section Settings tab is removed. Card: Settings > GE-Enforce.
This commit is contained in:
@@ -24,13 +24,15 @@ export default [
|
||||
name: 'geenforce-reports',
|
||||
component: () => import('./views/EnforcementReports.vue'),
|
||||
meta: { requiresAuth: true, requiresAdmin: true, plugin: 'geenforce' }
|
||||
},
|
||||
{
|
||||
path: 'settings',
|
||||
name: 'geenforce-settings',
|
||||
component: () => import('./views/GeEnforceSettings.vue'),
|
||||
meta: { requiresAuth: true, requiresAdmin: true, plugin: 'geenforce' }
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
// Config lives in the Settings rail (contributed via get_settings_cards),
|
||||
// not inside the GE-Enforce section tabs.
|
||||
path: 'settings/geenforce',
|
||||
name: 'settings-geenforce',
|
||||
component: () => import('./views/GeEnforceSettings.vue'),
|
||||
meta: { requiresAuth: true, requiresAdmin: true, plugin: 'geenforce' }
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user