diff --git a/src/main/java/ru/ulstu/admin/service/AdminController.java b/src/main/java/ru/ulstu/admin/service/AdminController.java index 3ae0e5c..78dc074 100644 --- a/src/main/java/ru/ulstu/admin/service/AdminController.java +++ b/src/main/java/ru/ulstu/admin/service/AdminController.java @@ -13,6 +13,7 @@ import ru.ulstu.model.UserRoleConstants; @Controller @RequestMapping("/admin") +@Secured({UserRoleConstants.ADMIN}) public class AdminController { private final AdminService adminService;