fix(仪表板): 删除分享IDOR漏洞

This commit is contained in:
fit2cloud-chenyw 2023-05-14 20:16:52 +08:00
parent 6725e57330
commit 32305503e6

View File

@ -56,6 +56,7 @@ public interface ShareApi {
@PostMapping("/removeShares")
void removeShares(PanelShareRemoveRequest request);
@DePermission(type = DePermissionType.PANEL)
@ApiOperation("删除仪表板所有分享")
@PostMapping("/removePanelShares/{panelId}")
void removePanelShares(@PathVariable("panelId") String panelId);