Gegenseitige Hilfe
Skip to content
by Guest » 05 Jan 2025, 12:33
Code: Select all
@PostMapping @PreAuthorize("@tenantSecurityService.hasAuthority('" + Authorities.PRODUCTS_WRITE + "')") public Product createProduct(@RequestBody @Valid ProductCreateRequest createRequest) { return productService.createProduct(createRequest); }
@PostMapping @AuthorityRequired(Authorities.PRODUCTS_WRITE) //
Top