Merge pull request #18945 from nextcloud/backport/18803/stable18

[stable18] Only allow navigation to a folder if you have access
This commit is contained in:
Roeland Jago Douma 2020-01-17 00:19:14 +01:00 committed by GitHub
commit d92500178f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -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') }}