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

普通用户可以随意删除管理员用户创建的模型 #520

Open
yanzhou-felicity opened this issue Jul 20, 2023 · 0 comments
Open

Comments

@yanzhou-felicity
Copy link

济南综合部这个普通用户可以随意删除管理员用户创建的模型。
The ordinary user "济南综合部" can freely delete models created by administrator users.

问题代码发生在com.thinkgem.jeesite.modules.act.web.ActModelController
中的delete方法中
The problematic code occurs in the 'delete' method of the 'ActModelController' class in com.thinkgem.jeesite.modules.sys.web.

系统管理员新建一条模型:
The system administrator creates a new model.
图片4

登录济南综合部,点击删除
Logging in as the ordinary user "济南综合部," click on "Delete."
图片5

删除成功
Deletion successful.
图片6

问题代码截图
Screenshot of problem code
图片7

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

No branches or pull requests

1 participant