refactor(XPack): 优化新Tab预览等单独页面打开权限控制
This commit is contained in:
parent
1f8eea240a
commit
947b124968
2
de-xpack
2
de-xpack
@ -1 +1 @@
|
|||||||
Subproject commit 59a8e45440c7f852e8058c0298ce5b48e49170f2
|
Subproject commit 2444c81b2f5571eea7f0dc5a25763e448ef70b0f
|
||||||
@ -163,6 +163,11 @@ public class DataVisualizationVO implements Serializable {
|
|||||||
*/
|
*/
|
||||||
private VisualizationWatermarkVO watermarkInfo;
|
private VisualizationWatermarkVO watermarkInfo;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 权限信息
|
||||||
|
*/
|
||||||
|
private Integer weight;
|
||||||
|
|
||||||
|
|
||||||
public DataVisualizationVO(Long id, String name, String type, Integer version, String canvasStyleData, String componentData, Map<Long, ChartViewDTO> canvasViewInfo, Map<Long, VisualizationTemplateExtendDataDTO> extendDataInfo) {
|
public DataVisualizationVO(Long id, String name, String type, Integer version, String canvasStyleData, String componentData, Map<Long, ChartViewDTO> canvasViewInfo, Map<Long, VisualizationTemplateExtendDataDTO> extendDataInfo) {
|
||||||
this.id = id;
|
this.id = id;
|
||||||
|
|||||||
@ -72,6 +72,11 @@ public interface InteractiveAuthApi {
|
|||||||
@PostMapping("/checkAuth")
|
@PostMapping("/checkAuth")
|
||||||
void checkAuth(@RequestBody BusiPerCheckDTO checkDTO);
|
void checkAuth(@RequestBody BusiPerCheckDTO checkDTO);
|
||||||
|
|
||||||
|
@Operation(summary = "权限查询")
|
||||||
|
@ApiOperationSupport(order = 9)
|
||||||
|
@PostMapping("/queryAuth")
|
||||||
|
Integer queryAuth(@RequestBody BusiPerCheckDTO checkDTO);
|
||||||
|
|
||||||
@GetMapping("/query2Root/{id}/{flag}")
|
@GetMapping("/query2Root/{id}/{flag}")
|
||||||
List<ResourceNodeVO> query2Root(@PathVariable("id") Long id, @PathVariable("flag") Integer flag);
|
List<ResourceNodeVO> query2Root(@PathVariable("id") Long id, @PathVariable("flag") Integer flag);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user