From 12cd70c96deb940c6c120be911c006191a93896d Mon Sep 17 00:00:00 2001 From: dyhj625 Date: Tue, 18 Feb 2025 11:11:40 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B6=8C=ED=95=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/security/mapper/MapBasedUrlRoleMapper.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/main/java/io/company/localhost/common/security/mapper/MapBasedUrlRoleMapper.java b/src/main/java/io/company/localhost/common/security/mapper/MapBasedUrlRoleMapper.java index de3b375..34aaa28 100644 --- a/src/main/java/io/company/localhost/common/security/mapper/MapBasedUrlRoleMapper.java +++ b/src/main/java/io/company/localhost/common/security/mapper/MapBasedUrlRoleMapper.java @@ -29,10 +29,11 @@ public class MapBasedUrlRoleMapper implements UrlRoleMapper{ @Override public Map getUrlRoleMappings() { urlRoleMappings.put("/api/user/**", PERMIT_ALL); - urlRoleMappings.put("/api/project/**", ROLE_MEMBER); -// urlRoleMappings.put("/api/test/**", ROLE_MEMBER); - - + urlRoleMappings.put("/api/project/**", ROLE_MEMBER); + urlRoleMappings.put("/api/vacation/**", PERMIT_ALL); + urlRoleMappings.put("/api/board/**", PERMIT_ALL); + urlRoleMappings.put("/api/vote/**", PERMIT_ALL); + urlRoleMappings.put("/api/worddict/**", PERMIT_ALL); return new HashMap<>(urlRoleMappings); } } \ No newline at end of file