diff options
author | provokateurin <kate@provokateurin.de> | 2024-12-10 10:23:50 +0100 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2024-12-12 14:40:39 +0000 |
commit | 5d1cbc602f7cd8f730ebccd1c9228e03e0edeb80 (patch) | |
tree | a34ad506727f8457339efc16961b4d9b357bb999 /apps | |
parent | 9236da20ad6da4a4835a883b171f1b18f040f9ef (diff) | |
download | nextcloud-server-5d1cbc602f7cd8f730ebccd1c9228e03e0edeb80.tar.gz nextcloud-server-5d1cbc602f7cd8f730ebccd1c9228e03e0edeb80.zip |
fix(SharingEntry): Hide edit button if user can not edit share
Signed-off-by: provokateurin <kate@provokateurin.de>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/src/components/SharingEntry.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/src/components/SharingEntry.vue b/apps/files_sharing/src/components/SharingEntry.vue index 6417ef0b6ea..7bd8a138141 100644 --- a/apps/files_sharing/src/components/SharingEntry.vue +++ b/apps/files_sharing/src/components/SharingEntry.vue @@ -45,7 +45,8 @@ :file-info="fileInfo" @open-sharing-details="openShareDetailsForCustomSettings(share)" /> </div> - <NcButton class="sharing-entry__action" + <NcButton v-if="share.canEdit" + class="sharing-entry__action" data-cy-files-sharing-share-actions :aria-label="t('files_sharing', 'Open Sharing Details')" type="tertiary" |