Add controller permissions

This commit is contained in:
Anton Romanov 2025-01-29 10:35:08 +04:00
parent 779ae11861
commit ec97b15c39

View File

@ -13,6 +13,7 @@ import ru.ulstu.model.UserRoleConstants;
@Controller
@RequestMapping("/admin")
@Secured({UserRoleConstants.ADMIN})
public class AdminController {
private final AdminService adminService;