This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 54ac5808 authored by Michael Breu's avatar Michael Breu :speech_balloon: Committed by Eduard Frankford
Browse files

Resolve "Candidates for Code Smells in Peer Reviews"

parent bbffcd08
2 merge requests!211Merge new meta data indexing,!206Resolve "Candidates for Code Smells in Peer Reviews"
......@@ -125,6 +125,7 @@ public class ReviewResource {
* @return the {@link ResponseEntity} with status {@code 200 (OK)} and the list of reviews in body.
*/
@GetMapping("/review")
@PreAuthorize(ADMIN_ROLE)
public ResponseEntity<List<ReviewDTO>> getAllReviews(ReviewCriteria criteria) {
log.debug("REST request to get Reviews by criteria: {}", criteria);
List<ReviewDTO> entityList = reviewQueryService.findByCriteria(criteria);
......
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