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