권한 수정
This commit is contained in:
parent
9bab7cdffc
commit
12cd70c96d
@ -29,10 +29,11 @@ public class MapBasedUrlRoleMapper implements UrlRoleMapper{
|
|||||||
@Override
|
@Override
|
||||||
public Map<String, String> getUrlRoleMappings() {
|
public Map<String, String> getUrlRoleMappings() {
|
||||||
urlRoleMappings.put("/api/user/**", PERMIT_ALL);
|
urlRoleMappings.put("/api/user/**", PERMIT_ALL);
|
||||||
urlRoleMappings.put("/api/project/**", ROLE_MEMBER);
|
urlRoleMappings.put("/api/project/**", ROLE_MEMBER);
|
||||||
// urlRoleMappings.put("/api/test/**", 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);
|
return new HashMap<>(urlRoleMappings);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue
Block a user