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" /> +