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
This commit is contained in:
Roeland Jago Douma 2020-01-15 09:11:34 +01:00 committed by GitHub
commit 0f238623f6
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"> <ActionText icon="icon-user">
{{ t('files_sharing', 'Added by {initiator}', { initiator: share.ownerDisplayName }) }} {{ t('files_sharing', 'Added by {initiator}', { initiator: share.ownerDisplayName }) }}
</ActionText> </ActionText>
<ActionLink v-if="share.fileSource" <ActionLink v-if="share.canDelete && share.fileSource"
icon="icon-folder" icon="icon-folder"
:href="fileTargetUrl"> :href="fileTargetUrl">
{{ t('files_sharing', 'Via folder') }} {{ t('files_sharing', 'Via folder') }}