From e871bc1f195988292c726d067aeac1cf7ee2102c Mon Sep 17 00:00:00 2001 From: Padreug Date: Sun, 17 May 2026 15:38:18 +0200 Subject: [PATCH 1/3] chore: add .mcp.json and ignore .playwright-mcp/ Co-Authored-By: Claude Opus 4.7 (1M context) --- .gitignore | 1 + .mcp.json | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 .mcp.json diff --git a/.gitignore b/.gitignore index 0e23399..6d1f429 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,4 @@ certs .obsidian .claude/ +.playwright-mcp/ diff --git a/.mcp.json b/.mcp.json new file mode 100644 index 0000000..6623baa --- /dev/null +++ b/.mcp.json @@ -0,0 +1,12 @@ +{ + "mcpServers": { + "playwright": { + "command": "npx", + "args": [ + "@playwright/mcp@latest", + "--caps", + "devtools" + ] + } + } +} From 9e3de6ce1652827cac5c58cf6a7a9f701cdfb038 Mon Sep 17 00:00:00 2001 From: Padreug Date: Sun, 17 May 2026 19:15:08 +0200 Subject: [PATCH 2/3] feat(libra/record): permission-gated Add Expense / Add Income buttons Check the user's permitted accounts on mount; disable the card and show a lock-icon caption directing them to contact an administrator when they have no SUBMIT_EXPENSE / SUBMIT_INCOME access. Greys the icon and badge background when disabled so the card reads inactive. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/accounting-app/views/RecordPage.vue | 115 +++++++++++++++++++----- 1 file changed, 91 insertions(+), 24 deletions(-) diff --git a/src/accounting-app/views/RecordPage.vue b/src/accounting-app/views/RecordPage.vue index 071299e..788451d 100644 --- a/src/accounting-app/views/RecordPage.vue +++ b/src/accounting-app/views/RecordPage.vue @@ -1,21 +1,52 @@