Commit 6158725e1fb94815fc3bdf5dbb964be5b40d704c

Authored by lifeontrip
1 parent 2d18ed96

fix(DEFECT-688): 超级管理员点击账号管理详情显示未授权

超级管理员点击账号管理详情显示未授权
... ... @@ -70,7 +70,7 @@ public class YtUserController extends AbstractUserAccount {
70 70 this.accountProperties = accountProperties;
71 71 }
72 72 @GetMapping("{userId}")
73   - @PreAuthorize("@check.checkPermissions({'TENANT_ADMIN'},{'api:yt:user:get'})")
  73 + @PreAuthorize("@check.checkPermissions({},{'api:yt:user:get'})")
74 74 public ResponseEntity<UserDTO> getUser(@PathVariable("userId") String userId)
75 75 throws ThingsboardException {
76 76 return ResponseEntity.of(
... ...