Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I used the non-editable permissions on the sheet page and only released the cell style editing permissions, but I found that after setting, the cells can be dragged and moved. [Bug] #3784

Open
2 tasks done
xiaouu565 opened this issue Oct 17, 2024 · 4 comments

Comments

@xiaouu565
Copy link

在您提交此问题之前,您是否检查了以下内容?

  • 这真的是个问题吗?
  • 我已经在 Github Issues 中搜索过了,但没有找到类似的问题。

受影响的包和版本

0.2.15

复现链接

使用了sheet页的不可编辑权限,仅放开了单元格样式编辑权限,但发现设置后,单元格可被拖拽和移动。
复现链接: https://github.com/xiaouu565/sheets-vite-demo/tree/xiaouu565/patch-66537

da8fc65daf4b583f7f36d3977b21e32

预期行为

设置sheet页所有点位不可编辑时,仅放开单元格可编辑样式权限,单元格应只可编辑样式,不可拖拽

实际行为

单元格可编辑样式也可以拖拽,还可以右键菜单控制向上向下移动

运行环境

Chrome

系统信息

No response

@xiaouu565 xiaouu565 added the bug Something isn't working label Oct 17, 2024
@univer-bot
Copy link

univer-bot bot commented Oct 17, 2024

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

Origin Title: 使用了sheet页的不可编辑权限,仅放开了单元格样式编辑权限,但发现设置后,单元格可被拖拽和移动。[Bug]

Title: I used the non-editable permissions on the sheet page and only released the cell style editing permissions, but I found that after setting, the cells can be dragged and moved. [Bug]


Before you submitted this question, did you check the following?

  • Is this really a problem?
  • I've searched Github Issues but haven't found any similar issues.

Affected packages and versions

0.2.15

Recurrence link

I used the non-editable permissions on the sheet page and only released the cell style editing permissions, but I found that after setting, the cells can be dragged and moved.
Reproduction link: https://github.com/xiaouu565/sheets-vite-demo/tree/xiaouu565/patch-66537

da8fc65daf4b583f7f36d3977b21e32

Expected behavior

When setting all points on the sheet page to be non-editable, only release the editable style permission of the cell. The cell should only be able to edit the style and cannot be dragged.

Actual behavior

The cell editable style can also be dragged and dropped, and the right-click menu can be used to control the movement up and down.

Running environment

Chrome

System information

No response

@univer-bot univer-bot bot changed the title [Bug] [Bug] Oct 17, 2024
@xiaouu565 xiaouu565 changed the title [Bug] 使用了sheet页的不可编辑权限,仅放开了单元格样式编辑权限,但发现设置后,单元格可被拖拽和移动。[Bug] Oct 17, 2024
@univer-bot univer-bot bot changed the title 使用了sheet页的不可编辑权限,仅放开了单元格样式编辑权限,但发现设置后,单元格可被拖拽和移动。[Bug] I used the non-editable permissions on the sheet page and only released the cell style editing permissions, but I found that after setting, the cells can be dragged and moved. [Bug] Oct 17, 2024
@jikkai
Copy link
Member

jikkai commented Oct 17, 2024

Please confirm whether you are using the latest version and provide the minimum reproduction.

@jikkai jikkai added need reproduction and removed bug Something isn't working labels Oct 17, 2024
@ybzky
Copy link
Member

ybzky commented Oct 17, 2024

提供的仓库中并没有看到设置权限相关的代码 请提供更具体demo

@univer-bot
Copy link

univer-bot bot commented Oct 17, 2024

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

There is no code related to setting permissions in the provided warehouse. Please provide a more specific demo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants