From 0d5527f1d58cc53558bec466bfabf1a6c9a64cb3 Mon Sep 17 00:00:00 2001 From: whitemark Date: Thu, 22 Feb 2024 08:29:38 +0900 Subject: [PATCH] [feature/#237] Member config --- .../main/java/com/inhabas/api/config/WebSecurityConfig.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resource-server/src/main/java/com/inhabas/api/config/WebSecurityConfig.java b/resource-server/src/main/java/com/inhabas/api/config/WebSecurityConfig.java index 1914db84..1639ef2d 100644 --- a/resource-server/src/main/java/com/inhabas/api/config/WebSecurityConfig.java +++ b/resource-server/src/main/java/com/inhabas/api/config/WebSecurityConfig.java @@ -132,8 +132,10 @@ protected void configure(HttpSecurity http) throws Exception { .hasAnyRole(CHIEF.toString(), VICE_CHIEF.toString()) // 회원 관리 - .antMatchers("/members/executive", "/members/hof") + .antMatchers("/members/executive") .hasRole(ANONYMOUS.toString()) + .antMatchers("/members/hof") + .hasRole(DEACTIVATED.toString()) .antMatchers("/members/approved/role") .hasRole(SECRETARY.toString()) .antMatchers("/members/approved/type")