mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(files_sharing): hide download permission for circle shares
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
This commit is contained in:
parent
7e9bd4fcea
commit
0387440a6c
3 changed files with 9 additions and 3 deletions
|
|
@ -404,6 +404,12 @@ export default {
|
|||
* @return {boolean}
|
||||
*/
|
||||
isSetDownloadButtonVisible() {
|
||||
// TODO: Implement download permission for circle shares instead of hiding the option.
|
||||
// https://github.com/nextcloud/server/issues/39161
|
||||
if (this.share && this.share.type === this.SHARE_TYPES.SHARE_TYPE_CIRCLE) {
|
||||
return false
|
||||
}
|
||||
|
||||
const allowedMimetypes = [
|
||||
// Office documents
|
||||
'application/msword',
|
||||
|
|
|
|||
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