Commit bae045502ff15bf65e464e78714fb3d9ac523651

Authored by 云中非
1 parent 474277db

fix: 组态设计和预览添加权限标识

... ... @@ -99,6 +99,7 @@ public class YtConfigurationCenterController extends BaseController {
99 99
100 100 @GetMapping("/get_configuration_info/{id}")
101 101 @ApiOperation("获取组态信息")
  102 + @PreAuthorize("@check.checkPermissions({'TENANT_ADMIN','CUSTOMER_USER'},{'api:yt:configuration:center:get_configuration_info:get'})")
102 103 public ResponseEntity<ConfigurationContentInfoDTO> getConfigurationInfos(
103 104 @PathVariable("id") String id) throws ThingsboardException {
104 105 return ResponseEntity.ok(
... ...