diff --git a/DocService/sources/DocsCoServer.js b/DocService/sources/DocsCoServer.js index fc37a70b..d8937aba 100644 --- a/DocService/sources/DocsCoServer.js +++ b/DocService/sources/DocsCoServer.js @@ -2355,7 +2355,7 @@ exports.install = function(server, callbackFunction) { } else if (data.documentCallbackUrl && !decoded?.editorConfig?.callbackUrl) { //todo callbackUrl required res = "editorConfig.callbackUrl"; - } else if (data.mode && !decoded?.editorConfig?.mode) { + } else if (data.mode && 'view' !== data.mode && !decoded?.editorConfig?.mode) {//allow to restrict rights to 'view' res = "editorConfig.mode"; } return res;