Added Post system. Notification system

This commit is contained in:
redtea committed 2022-09-01 17:04:25 +03:00
1 parent cc068fc3a8
commit 3ac444931c
29 files changed
+639 -86

No files matched your search

@@ -1,5 +1,9 @@
package site.easystartup.web.exception;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(HttpStatus.FORBIDDEN)
public class NoPermissionException extends RuntimeException {
public NoPermissionException(String username) {
super("User " + username + " do not have access for this action");