Support review parameter for wopi
This commit is contained in:
parent
3b517bdc49
commit
8429cab65b
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue