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

Bug: 无法修改沙盒权限 #1060

Closed
ilharp opened this issue Mar 30, 2023 · 2 comments
Closed

Bug: 无法修改沙盒权限 #1060

ilharp opened this issue Mar 30, 2023 · 2 comments

Comments

@ilharp
Copy link
Member

ilharp commented Mar 30, 2023

Describe the bug

在更新沙盒用户等级后,用户等级无法正确更新。刷新页面后:

  • 用户权限会恢复到 1
  • user 表中出现一个新的用户,权限正确
  • binding 仍旧绑定旧用户的权限

Steps to reproduce

创建模板项目,进入沙盒,创建用户,点击加号修改用户权限等级

Expected behavior

用户等级应当正确更改、保存

Screenshots

image

image

image

Versions

System:
OS: Windows 10 10.0.22621
CPU: (12) x64 Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz

Binaries:
Node: 16.19.1
Yarn: 3.5.0

Koishi:
Core: 4.12.2
Console: 5.5.6
Koishi Desktop: 0.9.4

Additional context

@ilharp ilharp added the bug BUG label Mar 30, 2023
@shigma shigma transferred this issue from koishijs/koishi Mar 30, 2023
@shigma shigma transferred this issue from koishijs/webui Apr 1, 2023
@shigma
Copy link
Member

shigma commented Apr 1, 2023

尝试更新 sqlite 到最新版本,看看是否解决此问题。

@ilharp
Copy link
Member Author

ilharp commented Apr 1, 2023

问题已解决。

@shigma shigma closed this as completed Apr 1, 2023
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

2 participants