From c3848b34681076db210424353d6282cc97c32dd4 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Thu, 1 Jun 2017 13:09:10 +0300 Subject: [PATCH] Disable review permission for pdf/xps/djvu files. --- apps/api/documents/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/documents/api.js b/apps/api/documents/api.js index dd2ed0365..7f687363c 100644 --- a/apps/api/documents/api.js +++ b/apps/api/documents/api.js @@ -327,7 +327,7 @@ if (type && typeof type[1] === 'string') { if (!_config.document.permissions) _config.document.permissions = {}; - _config.document.permissions.edit = false; + _config.document.permissions.edit = _config.document.permissions.review = false; } if (!_config.document.title || _config.document.title=='')