You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Feature] Regional protection permissions [It is expected to support the direct deletion of regional protection permissions within the regional scope]
#4165
Open
2 tasks done
18860852449 opened this issue
Nov 27, 2024
· 1 comment
场景:页面加载时后,整个sheet的单元格都进入禁止编辑状态,此时会调用后端 API 得到多组区域范围,然后期望可以调用 Facade API 来将这些区域范围的禁止编辑状态更改为可编辑状态。
问题:const permission = univerAPI.getPermission();permission.removeRangeProtection(unitId, subUnitId, ruleIds); 目前官方提供的这个 API 需要 ruleIds,而我的场景是不存在 ruleIds 的
期望:我期望可以直接根据多组区域范围 来删除区域保护权限
The text was updated successfully, but these errors were encountered:
univer-botbot
changed the title
[Feature] 区域保护权限[期望支持区域范围直接删除区域保护权限]
[Feature] Regional protection permissions [It is expected to support the direct deletion of regional protection permissions within the regional scope]
Nov 27, 2024
Title: [Feature] Regional protection permissions [It is expected to support the direct deletion of regional protection permissions within the regional scope]
Initial list
Is this really a problem?
I've searched Github Issues but haven't found any similar issues.
question
Scenario: After the page is loaded, the cells in the entire sheet enter the edit-prohibited state. At this time, the back-end API is called to obtain multiple sets of area ranges, and then the Facade API is expected to be called to change the edit-prohibited state of these area ranges to editable. state.
Problem: const permission = univerAPI.getPermission();permission.removeRangeProtection(unitId, subUnitId, ruleIds); The currently officially provided API requires ruleIds, but ruleIds does not exist in my scenario.
Expectation: I expect to be able to delete zone protection permissions directly based on multiple sets of zone ranges
初始清单
问题
场景:页面加载时后,整个sheet的单元格都进入禁止编辑状态,此时会调用后端 API 得到多组区域范围,然后期望可以调用 Facade API 来将这些区域范围的禁止编辑状态更改为可编辑状态。
问题:const permission = univerAPI.getPermission();permission.removeRangeProtection(unitId, subUnitId, ruleIds); 目前官方提供的这个 API 需要 ruleIds,而我的场景是不存在 ruleIds 的
期望:我期望可以直接根据多组区域范围 来删除区域保护权限
The text was updated successfully, but these errors were encountered: