forked from github/dataease
Merge pull request #5206 from dataease/pr@dev@fix_del_share_panle
fix(仪表板): 删除分享IDOR漏洞
This commit is contained in:
commit
96323624a4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user