From 30e53dbd9f6429cd3a6c7255cab0cef5ad422e1b Mon Sep 17 00:00:00 2001 From: kolaente Date: Mon, 16 Feb 2026 10:02:50 +0100 Subject: [PATCH] fix: reset group permission checkboxes when creating a new API token The group-level "select all" checkboxes (e.g. "Labels", "Backgrounds") were not reset after creating a token, causing them to appear visually checked when opening the form again even though the individual permissions were unchecked. Ref: https://community.vikunja.io/t/token-creation-malfunction-in-ticking-system/4318 --- frontend/src/views/user/settings/ApiTokens.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/views/user/settings/ApiTokens.vue b/frontend/src/views/user/settings/ApiTokens.vue index 7a80274e4..03bdd4932 100644 --- a/frontend/src/views/user/settings/ApiTokens.vue +++ b/frontend/src/views/user/settings/ApiTokens.vue @@ -72,6 +72,7 @@ onMounted(async () => { function resetPermissions() { newTokenPermissions.value = {} + newTokenPermissionsGroup.value = {} Object.entries(availableRoutes.value).forEach(entry => { const [group, routes] = entry newTokenPermissions.value[group] = {}