From d877f49687491b618ddb0ebd8e6802c1b1bf9046 Mon Sep 17 00:00:00 2001 From: Michael Wedl Date: Tue, 14 Jan 2025 07:43:43 +0100 Subject: [PATCH] Show tooltips on buttons for missing permissions --- .../components/Design/CreateDesignDialog.vue | 12 +++--- .../components/Design/ImportDesignDialog.vue | 12 +++--- .../frontend/src/components/UserInfoForm.vue | 4 +- packages/frontend/src/layouts/default.vue | 7 ++-- .../reporting/findings/[findingId]/index.vue | 5 ++- .../frontend/src/pages/projects/index.vue | 8 +++- .../frontend/src/pages/templates/index.vue | 26 +++++++------ .../src/components/PermissionInfo.vue | 37 +++++++++++++++++++ 8 files changed, 82 insertions(+), 29 deletions(-) create mode 100644 packages/nuxt-base-layer/src/components/PermissionInfo.vue diff --git a/packages/frontend/src/components/Design/CreateDesignDialog.vue b/packages/frontend/src/components/Design/CreateDesignDialog.vue index 62369ad58..0553e3c5f 100644 --- a/packages/frontend/src/components/Design/CreateDesignDialog.vue +++ b/packages/frontend/src/components/Design/CreateDesignDialog.vue @@ -1,11 +1,13 @@