From 9e3de6ce1652827cac5c58cf6a7a9f701cdfb038 Mon Sep 17 00:00:00 2001 From: Padreug Date: Sun, 17 May 2026 19:15:08 +0200 Subject: [PATCH] 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 @@