From 37a82c2650174dfdb85ca0543780b23465eec881 Mon Sep 17 00:00:00 2001 From: cproudlock Date: Thu, 27 Aug 2026 09:25:46 -0400 Subject: [PATCH] Somewhere to actually turn the USB kiosk on The kiosk page tells an administrator to enable it in Settings under USB. That place did not exist - the setting was reachable only through the API or a shell, which is the same trap the backups plugin shipped with. A settings page and a catalogue card, so the instruction leads somewhere. --- plugins/usb/frontend/routes.js | 6 ++ plugins/usb/frontend/views/USBSettings.vue | 113 +++++++++++++++++++++ 2 files changed, 119 insertions(+) create mode 100644 plugins/usb/frontend/views/USBSettings.vue diff --git a/plugins/usb/frontend/routes.js b/plugins/usb/frontend/routes.js index cade9108..b0455cf8 100644 --- a/plugins/usb/frontend/routes.js +++ b/plugins/usb/frontend/routes.js @@ -25,6 +25,12 @@ export default [ name: 'usb-edit', component: () => import('./views/USBForm.vue'), meta: { requiresAuth: true, plugin: 'usb' } + }, + { + path: 'settings/usb', + name: 'settings-usb', + component: () => import('./views/USBSettings.vue'), + meta: { requiresAuth: true, requiresAdmin: true, plugin: 'usb' } } ] diff --git a/plugins/usb/frontend/views/USBSettings.vue b/plugins/usb/frontend/views/USBSettings.vue new file mode 100644 index 00000000..258c6870 --- /dev/null +++ b/plugins/usb/frontend/views/USBSettings.vue @@ -0,0 +1,113 @@ + + + + +