Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -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 { | ... | ... |