mirror of
https://github.com/dataease/dataease.git
synced 2026-05-17 06:50:45 +08:00
Merge pull request #10665 from dataease/pr@dev-v2@refactor_auth
refactor(XPack): 优化新Tab预览等单独页面打开权限控制
This commit is contained in:
2
de-xpack
2
de-xpack
Submodule de-xpack updated: 59a8e45440...2444c81b2f
@@ -163,6 +163,11 @@ public class DataVisualizationVO implements Serializable {
|
||||
*/
|
||||
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) {
|
||||
this.id = id;
|
||||
|
||||
@@ -72,6 +72,11 @@ public interface InteractiveAuthApi {
|
||||
@PostMapping("/checkAuth")
|
||||
void checkAuth(@RequestBody BusiPerCheckDTO checkDTO);
|
||||
|
||||
@Operation(summary = "权限查询")
|
||||
@ApiOperationSupport(order = 9)
|
||||
@PostMapping("/queryAuth")
|
||||
Integer queryAuth(@RequestBody BusiPerCheckDTO checkDTO);
|
||||
|
||||
@GetMapping("/query2Root/{id}/{flag}")
|
||||
List<ResourceNodeVO> query2Root(@PathVariable("id") Long id, @PathVariable("flag") Integer flag);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user