Marcel Klehr
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
4 additions and
4 deletions
-
apps/files_sharing/src/share.js
-
dist/files_sharing-additionalScripts.js
-
dist/files_sharing-additionalScripts.js.map
|
|
|
@ -94,7 +94,7 @@ import { getCapabilities } from '@nextcloud/capabilities' |
|
|
|
} |
|
|
|
if (_.isFunction(fileData.canDownload) && !fileData.canDownload()) { |
|
|
|
delete fileActions.actions.all.Download |
|
|
|
if (fileData.permissions & OC.PERMISSION_UPDATE === 0) { |
|
|
|
if ((fileData.permissions & OC.PERMISSION_UPDATE) === 0) { |
|
|
|
// neither move nor copy is allowed, remove the action completely
|
|
|
|
delete fileActions.actions.all.MoveCopy |
|
|
|
} |
|
|
|
|