From ee2d9ae7b6f5638bde9c18657cf0e0928532dd22 Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi Date: Thu, 23 Jul 2026 18:45:10 -0400 Subject: [PATCH] Add Scan Settings to the user menu Library group Scan Settings was reachable only through the settings sidebar. Add it to the user dropdown's Library group, mirroring the sidebar's order, icon, and platforms.write gate. Co-Authored-By: Claude Fable 5 --- frontend/src/v2/components/AppShell/UserMenu.vue | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/frontend/src/v2/components/AppShell/UserMenu.vue b/frontend/src/v2/components/AppShell/UserMenu.vue index 430b003b2..0be6e99c8 100644 --- a/frontend/src/v2/components/AppShell/UserMenu.vue +++ b/frontend/src/v2/components/AppShell/UserMenu.vue @@ -4,7 +4,8 @@ // architecture so the user has the same mental model in both places: // // • Account — Profile, User interface -// • Library — Library management, Metadata sources, Client API tokens +// • Library — Library management, Scan settings, Metadata sources, +// Client API tokens // • System — Administration, Server stats // • Tools — Controller debug // • Actions — Scan, Upload (librarian actions, not settings) @@ -74,6 +75,9 @@ const canUpload = computed(() => scopes.value.includes("roms.write")); const canSeeLibraryMgmt = computed(() => scopes.value.includes("platforms.write"), ); +const canSeeScanSettings = computed(() => + scopes.value.includes("platforms.write"), +); const canSeeApiTokens = computed(() => scopes.value.includes("me.write")); const canSeeAdmin = computed(() => scopes.value.includes("users.write")); @@ -206,6 +210,13 @@ async function onLogout() { :label="t('common.library-management')" @click="open = false" /> +