Commit 46456fea authored by Julia Radzhabova's avatar Julia Radzhabova

Disable review permission for pdf/xps/djvu files.

parent ea256572
......@@ -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=='')
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment