diff --git a/wsd/Storage.cpp b/wsd/Storage.cpp index 9b7126d56..36f5ccd75 100644 --- a/wsd/Storage.cpp +++ b/wsd/Storage.cpp @@ -896,6 +896,8 @@ WopiStorage::WOPIFileInfo::WOPIFileInfo(const FileInfo &fileInfo, if (isReadOnly) { isUserLocked = true; + _userCanWrite = false; + LOG_DBG("Feature lock is enabled and " << host << " is in the list of read-only members. Therefore, document is set to read-only."); } CommandControl::LockManager::setHostReadOnly(isReadOnly); }