mirror of
https://github.com/dataease/dataease.git
synced 2026-05-16 22:41:06 +08:00
fix(仪表板): 删除分享IDOR漏洞
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user