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

添加角色功能存在并发安全问题,使得可以添加多个同名角色 #443

Open
1 task
yushijinhun opened this issue Jul 16, 2022 · 0 comments
Open
1 task
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@yushijinhun
Copy link
Member

Blessing Skin 版本

6.0.2

PHP 版本

8.1

出现问题时所使用的浏览器

Firefox

您正在使用的 Web Server

No response

您正在使用宝塔吗?

出现了什么问题?

添加角色功能中,检查角色名称重复的逻辑存在并发安全问题,使得能够添加多个重名角色。

错误日志

No response

重现步骤

方法一:使用工具同时发送多个 HTTP 请求;
方法二:在网络不稳定的情况下(如短时间拔掉网线),多次添加角色,并使用相同的名称。

@yushijinhun yushijinhun added the bug Something isn't working label Jul 16, 2022
@mochaaP mochaaP added the help wanted Extra attention is needed label Jul 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants