diff options
author | Joas Schilling <coding@schilljs.com> | 2020-09-04 08:51:35 +0200 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2020-09-04 08:51:35 +0200 |
commit | 3fb6a625aac16dd479a2d6e9a77d2fea2efff6ff (patch) | |
tree | 189fcdc02b23c8fcd27631e415089dc50fc41918 /apps/files/js/file-upload.js | |
parent | 84fe4447a7ae8cbebdb94e1a75d7e4ab594f36b7 (diff) | |
download | nextcloud-server-3fb6a625aac16dd479a2d6e9a77d2fea2efff6ff.tar.gz nextcloud-server-3fb6a625aac16dd479a2d6e9a77d2fea2efff6ff.zip |
Better error message when blocked by access control
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files/js/file-upload.js')
-rw-r--r-- | apps/files/js/file-upload.js | 2 |
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'}); } |