diff --git a/packages/web-app-text-editor/src/App.vue b/packages/web-app-text-editor/src/App.vue index 8b275867def..edfc4b6686a 100644 --- a/packages/web-app-text-editor/src/App.vue +++ b/packages/web-app-text-editor/src/App.vue @@ -91,8 +91,9 @@ export default { unref(defaults) .getFileInfo(filePath, [DavProperty.Permissions]) .then((response) => { - isReadOnly.value = - response.fileInfo[DavProperty.Permissions].indexOf(DavPermission.Updateable) === -1 + isReadOnly.value = ![DavPermission.Updateable, DavPermission.FileUpdateable].some( + (p) => response.fileInfo[DavProperty.Permissions].indexOf(p) > -1 + ) }) return yield unref(defaults)