From 370ed814f76012a97fd40d50c367b2f7240dfc09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20M=C3=BCller?= Date: Wed, 18 Sep 2013 11:22:29 +0200 Subject: [PATCH] add permissions of the file to the json response --- apps/files/ajax/upload.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/apps/files/ajax/upload.php b/apps/files/ajax/upload.php index 1d03cd89f83..4f108910588 100644 --- a/apps/files/ajax/upload.php +++ b/apps/files/ajax/upload.php @@ -116,7 +116,8 @@ if (strpos($dir, '..') === false) { 'name' => basename($target), 'originalname' => $files['name'][$i], 'uploadMaxFilesize' => $maxUploadFileSize, - 'maxHumanFilesize' => $maxHumanFileSize + 'maxHumanFilesize' => $maxHumanFileSize, + 'permissions' => $meta['permissions'] ); } }