Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2020-09-11 09:43:52 +0300
committerGitHub <noreply@github.com>2020-09-11 09:43:52 +0300
commitcd29f22ee7d292a2e448a59d48f77f88d33192ff (patch)
tree1e74f845ffe98cc05e0060e78bfd2cd98eab67e2 /apps
parentc8381c5d1710c420b2cefb0ae7131f46ca913001 (diff)
parent94f4e5142fc729f218b8c3635a736e9451ec5395 (diff)
Merge pull request #22591 from nextcloud/backport/22577/stable19
[stable19] Better error message when blocked by access control
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/file-upload.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/files/js/file-upload.js b/apps/files/js/file-upload.js
index 1e54d32e55f..691131293a8 100644
--- a/apps/files/js/file-upload.js
+++ b/apps/files/js/file-upload.js
@@ -1303,6 +1303,8 @@ OC.Uploader.prototype = _.extend({
self.cancelUploads();
} else if (status === 409) {
OC.Notification.show(message || t('files', 'Target folder does not exist any more'), {type: 'error'});
+ } else if (status === 403) {
+ OC.Notification.show(message || t('files', 'Operation is blocked by access control'), {type: 'error'});
} else {
OC.Notification.show(message || t('files', 'Error when assembling chunks, status code {status}', {status: status}), {type: 'error'});
}