Skip to content

Commit 10c2b51

Browse files
committed
(TP-107) feat: add filtered endpoint permitAll
1 parent d1e6b59 commit 10c2b51

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rentplace/src/main/java/kattsyn/dev/rentplace/configs/SecurityConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
7070
authorize -> authorize
7171
.requestMatchers(PUBLIC_URLS).permitAll()
7272
.requestMatchers(HttpMethod.GET, PUBLIC_URLS_GET).permitAll()
73+
.requestMatchers(HttpMethod.POST, "/api/v1/properties/filtered/").permitAll()
7374
.requestMatchers(HttpMethod.DELETE, ADMIN_URLS).hasAuthority("ROLE_ADMIN")
7475
.requestMatchers(HttpMethod.POST, ADMIN_URLS).hasAuthority("ROLE_ADMIN")
7576
.requestMatchers(HttpMethod.PATCH, ADMIN_URLS).hasAuthority("ROLE_ADMIN")

0 commit comments

Comments
 (0)