Add controller permissions
This commit is contained in:
parent
779ae11861
commit
ec97b15c39
@ -13,6 +13,7 @@ import ru.ulstu.model.UserRoleConstants;
|
|||||||
|
|
||||||
@Controller
|
@Controller
|
||||||
@RequestMapping("/admin")
|
@RequestMapping("/admin")
|
||||||
|
@Secured({UserRoleConstants.ADMIN})
|
||||||
public class AdminController {
|
public class AdminController {
|
||||||
private final AdminService adminService;
|
private final AdminService adminService;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user