mirror of
https://github.com/nextcloud/server.git
synced 2026-07-16 05:13:10 -04:00
Merge pull request #49789 from nextcloud/backport/49747/stable27
[stable27] Hide share edit options when user can not edit the share
This commit is contained in:
commit
b49a8a5cd4
4 changed files with 7 additions and 5 deletions
|
|
@ -46,7 +46,8 @@
|
|||
:toggle="showDropdown"
|
||||
@open-sharing-details="openShareDetailsForCustomSettings(share)" />
|
||||
</div>
|
||||
<NcButton class="sharing-entry__action"
|
||||
<NcButton v-if="share.canEdit"
|
||||
class="sharing-entry__action"
|
||||
:aria-label="t('files_sharing', 'Open Sharing Details')"
|
||||
type="tertiary-no-background"
|
||||
@click="openSharingDetails(share)">
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
<template>
|
||||
<div ref="quickShareDropdownContainer"
|
||||
<div v-if="share.canEdit"
|
||||
ref="quickShareDropdownContainer"
|
||||
:class="{ 'active': showDropdown, 'share-select': true }">
|
||||
<span :id="dropdownId"
|
||||
class="trigger-text"
|
||||
|
|
|
|||
4
dist/files_sharing-files_sharing_tab.js
vendored
4
dist/files_sharing-files_sharing_tab.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files_sharing-files_sharing_tab.js.map
vendored
2
dist/files_sharing-files_sharing_tab.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue