Disable review permission for pdf/xps/djvu files.
This commit is contained in:
parent
da682d1447
commit
c3848b3468
|
@ -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=='')
|
||||||
|
|
Loading…
Reference in a new issue