mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
Merge branch 'feature/chat' into develop
This commit is contained in:
@ -909,6 +909,7 @@ app.get("/editor", function (req, res) { // define a handler for editing docume
|
||||
templates: user.templates ? templates : null,
|
||||
isEdit: canEdit && (mode == "edit" || mode == "view" || mode == "filter" || mode == "blockcontent"),
|
||||
review: canEdit && (mode == "edit" || mode == "review"),
|
||||
chat: userid != "uid-0",
|
||||
comment: mode != "view" && mode != "fillForms" && mode != "embedded" && mode != "blockcontent",
|
||||
fillForms: mode != "view" && mode != "comment" && mode != "embedded" && mode != "blockcontent",
|
||||
modifyFilter: mode != "filter",
|
||||
|
||||
@ -60,6 +60,7 @@ var descr_user_0 = [
|
||||
"Can't create new files from the editor",
|
||||
"Can’t see anyone’s information",
|
||||
"Can't rename files from the editor",
|
||||
"Can't view chat",
|
||||
//"Can’t submit forms"
|
||||
];
|
||||
|
||||
|
||||
@ -14,6 +14,7 @@
|
||||
"favorite": <%- file.favorite %>
|
||||
},
|
||||
"permissions": {
|
||||
"chat": <%- editor.chat %>,
|
||||
"comment": <%- editor.comment %>,
|
||||
"copy": <%- editor.copy %>,
|
||||
"download": <%- editor.download %>,
|
||||
|
||||
Reference in New Issue
Block a user