fixed Security Config bug
@@ -160,7 +160,9 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
"/ownSecurity/changePassword",
"/place/getListPlaceLocationByMapsBounds",
"/place/filter",
- CUSTOM_SHOPPING_LIST_URL)
+ "/custom/shopping-list-items/{userId}/{habitId}/custom-shopping-list-items"
+ //CUSTOM_SHOPPING_LIST_URL
+ )
.permitAll()
.antMatchers(HttpMethod.GET,
"/achievements",
@@ -169,6 +171,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
CUSTOM_SHOPPING_LIST_ITEMS,
CUSTOM_SHOPPING_LIST,
CUSTOM_SHOPPING_LIST_URL,
+ "/custom/shopping-list-items/{userId}/{habitId}",
"/econews/count",
"/econews/isLikedByUser",
"/favorite_place/",
@@ -219,6 +222,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
EVENTS + "/create",
EVENTS + "/rateEvent/{eventId}/{rate}",
CUSTOM_SHOPPING_LIST_ITEMS,
+ //"/custom/shopping-list-items/{userId}/{habitId}/custom-shopping-list-items",
"/files/image",
"/files/convert",
HABIT_ASSIGN_ID,
