Skip to content

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

Open
@yanzhou-felicity

Description

济南综合部这个普通用户可以随意删除管理员用户创建的模型。
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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions