mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Merge pull request #37802 from nextcloud/fix/37729
This commit is contained in:
commit
545de25eec
3 changed files with 4 additions and 4 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
4
dist/files_sharing-additionalScripts.js
vendored
4
dist/files_sharing-additionalScripts.js
vendored
File diff suppressed because one or more lines are too long
2
dist/files_sharing-additionalScripts.js.map
vendored
2
dist/files_sharing-additionalScripts.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue