Commit 83dd37273390658b6d13eaec0b60bb2ba20a32cb

Authored by 云中非
1 parent 80a78cf9

fix:客户启用禁用场景联动无权限问题

... ... @@ -43,7 +43,7 @@ import static org.thingsboard.server.common.data.yunteng.constant.QueryConstant.
43 43
44 44 @RestController
45 45 @RequiredArgsConstructor
46   -@PreAuthorize("hasAnyAuthority('TENANT_ADMIN')")
  46 +@PreAuthorize("hasAnyAuthority('TENANT_ADMIN', 'CUSTOMER_USER')")
47 47 @RequestMapping("api/yt/convert")
48 48 @Api(tags = {"数据流转控制器"})
49 49 public class YtConvertDataToController extends BaseController {
... ...