Added Post system. Notification system
This commit is contained in:
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");
|
||||
|
||||
Reference in new issue
Block a user