mirror of
https://github.com/valitydev/org-manager.git
synced 2024-11-06 00:15:23 +00:00
remove todo
This commit is contained in:
parent
69f37c1fa4
commit
3c9c0997ea
@ -12,7 +12,6 @@ public class RestExceptionHandler extends ResponseEntityExceptionHandler {
|
||||
|
||||
@ExceptionHandler(value = {AccessDeniedException.class})
|
||||
protected ResponseEntity<Object> handleAccessDeniedException(AccessDeniedException ex, WebRequest request) {
|
||||
// TODO возможно выдавать сообщение с ошибкой?
|
||||
return ResponseEntity
|
||||
.status(HttpStatus.FORBIDDEN)
|
||||
.build();
|
||||
|
Loading…
Reference in New Issue
Block a user