mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-04-07 14:06:16 +08:00
Support review parameter for wopi
This commit is contained in:
@ -205,6 +205,7 @@ div {
|
||||
},
|
||||
"permissions": {
|
||||
"edit": !fileInfo.ReadOnly && fileInfo.UserCanWrite,
|
||||
"review": (fileInfo.SupportsReviewing===false) ? false : (fileInfo.UserCanReview===false ? false : fileInfo.UserCanReview),
|
||||
"copy": fileInfo.CopyPasteRestrictions!=="CurrentDocumentOnly" && fileInfo.CopyPasteRestrictions!=="BlockAll",
|
||||
"print": !fileInfo.DisablePrint
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user