Skip to content
Snippets Groups Projects
Unverified Commit aa9878e8 authored by Roeland Jago Douma's avatar Roeland Jago Douma
Browse files

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: default avatarRoeland Jago Douma <roeland@famdouma.nl>
parent 060dd35e
No related branches found
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
...@@ -35,7 +35,7 @@ ...@@ -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') }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment