From f2898df23d8263ef00822131856ad587badaf7eb Mon Sep 17 00:00:00 2001
From: provokateurin <kate@provokateurin.de>
Date: Tue, 10 Dec 2024 10:24:19 +0100
Subject: fix(SharingEntryQuickShareSelect): Disable quick share select if user
 can not edit share

Signed-off-by: provokateurin <kate@provokateurin.de>
---
 apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue | 1 +
 1 file changed, 1 insertion(+)

(limited to 'apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue')

diff --git a/apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue b/apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue
index 8bb982326ff..565bee1d821 100644
--- a/apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue
+++ b/apps/files_sharing/src/components/SharingEntryQuickShareSelect.vue
@@ -8,6 +8,7 @@
 		:menu-name="selectedOption"
 		:aria-label="ariaLabel"
 		type="tertiary-no-background"
+		:disabled="!share.canEdit"
 		force-name>
 		<template #icon>
 			<DropdownIcon :size="15" />
-- 
cgit v1.2.3

