Disable review permission for pdf/xps/djvu files.

This commit is contained in:
Julia Radzhabova 2017-06-01 13:09:10 +03:00
parent da682d1447
commit c3848b3468

View file

@ -327,7 +327,7 @@
if (type && typeof type[1] === 'string') { if (type && typeof type[1] === 'string') {
if (!_config.document.permissions) if (!_config.document.permissions)
_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=='') if (!_config.document.title || _config.document.title=='')