fix: 修复删除项目时验证权限的bug
This commit is contained in:
parent
e9aaf8af8f
commit
3ed17ca44a
|
@ -103,7 +103,6 @@ public class ProjectController {
|
||||||
@GetMapping("/delete/{projectId}")
|
@GetMapping("/delete/{projectId}")
|
||||||
@MsAuditLog(module = "project_project_manager", type = OperLogConstants.DELETE, beforeEvent = "#msClass.getLogDetails(#projectId)", msClass = ProjectService.class)
|
@MsAuditLog(module = "project_project_manager", type = OperLogConstants.DELETE, beforeEvent = "#msClass.getLogDetails(#projectId)", msClass = ProjectService.class)
|
||||||
public void deleteProject(@PathVariable(value = "projectId") String projectId) {
|
public void deleteProject(@PathVariable(value = "projectId") String projectId) {
|
||||||
checkPermissionService.checkProjectOwner(projectId);
|
|
||||||
projectService.deleteProject(projectId);
|
projectService.deleteProject(projectId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue