dream-num / univer

Univer is an open-source alternative to Google Sheets, Slides, and Docs
https://univer.ai
Apache License 2.0
5.97k stars 493 forks source link

[Feature] Provide a partially uneditable facade API #2730

Open qingnianz opened 2 weeks ago

qingnianz commented 2 weeks ago

初始清单

问题

存在很多不区分权限只有部分单元格能编辑的场景,现在只能通过WorksheetEditPermission让整个工作表不能编辑或者通过保护区域控制(保护区域只能控制其他用户不能编辑)

解决方案

类似setEditable一样,提供一个局部不可编辑的facade api

univer-bot[bot] commented 2 weeks ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿

Origin Title: [Feature] 提供一个局部不可编辑的facade api

Title: [Feature] Provide a partially uneditable facade API


Initial list

question

There are many scenarios where only some cells can be edited without distinguishing permissions. Now the entire worksheet can only be made uneditable through WorksheetEditPermission or controlled through a protected area (the protected area can only be controlled by other users and cannot be edited).

solution

Similar to setEditable, it provides a partially uneditable facade API.