aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprovokateurin <kate@provokateurin.de>2024-12-10 10:24:19 +0100
committerprovokateurin <kate@provokateurin.de>2024-12-11 08:41:33 +0100
commit50d673a0a95ed7cb8de6ceb5e7e3acd2cf85e8df (patch)
treeb80edbae594b76ad73001b602e4e81482231d5eb
parent186800a843aafd02260fcce513dbc80a0000e402 (diff)
downloadnextcloud-server-50d673a0a95ed7cb8de6ceb5e7e3acd2cf85e8df.tar.gz
nextcloud-server-50d673a0a95ed7cb8de6ceb5e7e3acd2cf85e8df.zip
fix(SharingEntryQuickShareSelect): Disable quick share select if user can not edit share
Signed-off-by: provokateurin <kate@provokateurin.de>
-rw-r--r--apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue b/apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue
index 79302ec6fbe..776c01ad5b0 100644
--- a/apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue
+++ b/apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue
@@ -4,6 +4,7 @@
:menu-name="selectedOption"
:aria-label="ariaLabel"
type="tertiary-no-background"
+ :disabled="!share.canEdit"
force-name>
<template #icon>
<DropdownIcon :size="15" />