Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2020-01-10 13:34:03 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2020-01-15 09:40:41 +0300
commitaa9878e8676a1106c310230d491aaad8a16415f7 (patch)
treeb58ec25daaf6f14a16010aad09c926edb5aa8617 /apps/files_sharing/src
parent060dd35ef9658907eb578043437fa476efc7bcaf (diff)
Only allow navigation to a folder if you have access
Fixes #18716 If you can delete the share then you have access yourself to that shares location. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_sharing/src')
-rw-r--r--apps/files_sharing/src/components/SharingEntryInherited.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/src/components/SharingEntryInherited.vue b/apps/files_sharing/src/components/SharingEntryInherited.vue
index 7d56f4eac34..2c08b43d0cd 100644
--- a/apps/files_sharing/src/components/SharingEntryInherited.vue
+++ b/apps/files_sharing/src/components/SharingEntryInherited.vue
@@ -35,7 +35,7 @@
<ActionText icon="icon-user">
{{ t('files_sharing', 'Added by {initiator}', { initiator: share.ownerDisplayName }) }}
</ActionText>
- <ActionLink v-if="share.fileSource"
+ <ActionLink v-if="share.canDelete && share.fileSource"
icon="icon-folder"
:href="fileTargetUrl">
{{ t('files_sharing', 'Via folder') }}