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>
This commit is contained in:
parent
060dd35ef9
commit
aa9878e867
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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') }}
|
||||
|
|
Loading…
Reference in New Issue