Skip to content

Commit 5feda39

Browse files
authored
Merge pull request #193 from prgrms-aibe-devcourse/fix/192-remove-stale-code
[Fix] 개발 초기 잔여 코드 및 stale TODO 주석 정리
2 parents 9e22429 + 0bd9e26 commit 5feda39

3 files changed

Lines changed: 2 additions & 27 deletions

File tree

src/main/java/com/Rootin/domain/til/entity/Post.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,7 @@
1010

1111
import java.time.LocalDateTime;
1212

13-
/**
14-
* TODO [로그인 담당자]: User 엔티티 완성 후 연관관계 확인 필요
15-
*
16-
* ※ Til(자식)이 AiResult와 @ManyToMany로 연결되어 있으므로
17-
* id, user 필드는 반드시 유지해 주세요.
18-
* (ai_result_til 중간 테이블의 post_id = til.post_id = posts.id)
19-
*/
13+
// id/user 필드는 AiResult ManyToMany 조인(ai_result_til.post_id = posts.id)에 필요하므로 제거 금지
2014
@Getter
2115
@Entity
2216
@Inheritance(strategy = InheritanceType.JOINED)

src/main/java/com/Rootin/global/config/SecurityConfig.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,6 @@
2727
import java.util.List;
2828
import java.util.Map;
2929

30-
/**
31-
* TODO [로그인 담당자]: JWT 필터 추가 예정
32-
* - JwtAuthenticationFilter를 addFilterBefore()로 등록
33-
* - 공개 경로(회원가입, 로그인 등) permitAll() 추가
34-
*/
3530
@Configuration
3631
@EnableWebSecurity
3732
@RequiredArgsConstructor
@@ -52,7 +47,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
5247
session.sessionCreationPolicy(SessionCreationPolicy.STATELESS))
5348

5449
.authorizeHttpRequests(auth -> auth
55-
.requestMatchers("/test", "/h2-console/**").permitAll()
50+
.requestMatchers("/h2-console/**").permitAll()
5651
.requestMatchers("/swagger-ui/**", "/v3/api-docs/**").permitAll()
5752
.requestMatchers(
5853
"/actuator/health",

src/main/java/com/Rootin/test/TestController.java

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)