diff options
author | Joas Schilling <coding@schilljs.com> | 2020-09-04 08:51:35 +0200 |
---|---|---|
committer | backportbot[bot] <backportbot[bot]@users.noreply.github.com> | 2020-09-04 13:53:18 +0000 |
commit | 94f4e5142fc729f218b8c3635a736e9451ec5395 (patch) | |
tree | 33ed696ecc53cc9d9b1c18ab1843e62e919763aa /apps/files/js | |
parent | dc60a812842bb879b5b60393e69152716bc5e7fd (diff) | |
download | nextcloud-server-94f4e5142fc729f218b8c3635a736e9451ec5395.tar.gz nextcloud-server-94f4e5142fc729f218b8c3635a736e9451ec5395.zip |
Better error message when blocked by access control
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/files/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'}); } |