Commit f55cd9d66b23685da3ab9e203bd155a7f5e944c7
Merge branch '20221221' into 'master'
refactor: 修改组态设计和预览的权限标识 See merge request huang/thingsboard3.3.2!149
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -104,7 +104,7 @@ public class TkConfigurationCenterController extends BaseController { |
104 | 104 | @GetMapping("/get_configuration_info/{id}") |
105 | 105 | @ApiOperation("获取组态信息") |
106 | 106 | @PreAuthorize( |
107 | - "@check.checkPermissions({'TENANT_ADMIN','CUSTOMER_USER'},{'api:yt:configuration:center:get_configuration_info:get'})") | |
107 | + "@check.checkPermissions({'TENANT_ADMIN','CUSTOMER_USER'},{'api:yt:configuration:center:get_configuration_info:design','api:yt:configuration:center:get_configuration_info:preview'})") | |
108 | 108 | public ResponseEntity<ConfigurationContentInfoDTO> getConfigurationInfos( |
109 | 109 | @PathVariable("id") String id) throws ThingsboardException { |
110 | 110 | return ResponseEntity.ok( | ... | ... |