aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/src/components/SharingEntryInherited.vue
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-01-15 09:11:34 +0100
committerGitHub <noreply@github.com>2020-01-15 09:11:34 +0100
commit0f238623f6fcbc6605580d79f9705eab9bfcdf5a (patch)
treeb58ec25daaf6f14a16010aad09c926edb5aa8617 /apps/files_sharing/src/components/SharingEntryInherited.vue
parent060dd35ef9658907eb578043437fa476efc7bcaf (diff)
parentaa9878e8676a1106c310230d491aaad8a16415f7 (diff)
downloadnextcloud-server-0f238623f6fcbc6605580d79f9705eab9bfcdf5a.tar.gz
nextcloud-server-0f238623f6fcbc6605580d79f9705eab9bfcdf5a.zip
Merge pull request #18803 from nextcloud/fix/18716/other_with_access_navigate_only_on_delete
Only allow navigation to a folder if you have access
Diffstat (limited to 'apps/files_sharing/src/components/SharingEntryInherited.vue')
-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') }}