권한 수정

This commit is contained in:
dyhj625 2025-02-18 11:11:40 +09:00
parent 9bab7cdffc
commit 12cd70c96d

View File

@ -29,10 +29,11 @@ public class MapBasedUrlRoleMapper implements UrlRoleMapper{
@Override
public Map<String, String> 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);
}
}