Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -138,7 +138,7 @@ public class DeviceProfileController extends BaseController { |
138 | 138 | "The implementation limits the number of devices that participate in search to 100 as a trade of between accurate results and time-consuming queries. " + |
139 | 139 | TENANT_AUTHORITY_PARAGRAPH, |
140 | 140 | produces = "application/json") |
141 | - @PreAuthorize("hasAnyAuthority('TENANT_ADMIN')") | |
141 | + @PreAuthorize("hasAnyAuthority('TENANT_ADMIN', 'CUSTOMER_USER')") | |
142 | 142 | @RequestMapping(value = "/deviceProfile/devices/keys/timeseries", method = RequestMethod.GET) |
143 | 143 | @ResponseBody |
144 | 144 | public List<String> getTimeseriesKeys( | ... | ... |