Commit dbae72ad authored by Jie Yuan's avatar Jie Yuan
Browse files

remove admin preauthority in endpoint /api/serviceComponent/jsonreport

parent a346d75b
......@@ -149,7 +149,6 @@ public class ServiceComponentEndpoint {
*/
@PostMapping(value = "/jsonreport", consumes = MediaType.APPLICATION_JSON_VALUE)
@PreAuthorize("hasAuthority('ADMIN')")
public ResponseEntity<JsonPakitiReport> createUser( @Valid @RequestBody final JsonPakitiReport report) {
this.servComponentController.saveJsonPakitiReport(report);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment