Skip to content

Commit

Permalink
🧩 :: (#482) μžμž˜ν•œ μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
alsdl0629 committed Dec 5, 2023
1 parent fc6dcd5 commit 67be9ff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public CompanyQueryApplicationsResponse queryCompanyApplicationList() {
return companyQueryApplicationsUseCase.execute();
}

@GetMapping("/my")
@GetMapping("/students")
public QueryMyApplicationsResponse queryMyApplications() {
return queryMyApplicationsUseCase.execute();
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.requestMatchers(HttpMethod.GET, "/applications/employment/count").permitAll()
.requestMatchers(HttpMethod.GET, "/applications/pass/{company-id}").hasAnyAuthority(TEACHER.name())
.requestMatchers(HttpMethod.GET, "/applications/company").hasAuthority(COMPANY.name())
.requestMatchers(HttpMethod.GET, "/applications/my").hasAnyAuthority(STUDENT.name(), DEVELOPER.name())
.requestMatchers(HttpMethod.GET, "/applications/students").hasAnyAuthority(STUDENT.name(), DEVELOPER.name())
.requestMatchers(HttpMethod.POST, "/applications/{company-id}").hasAnyAuthority(STUDENT.name(), DEVELOPER.name())
.requestMatchers(HttpMethod.DELETE, "/applications/{application-id}").hasAuthority(STUDENT.name())
.requestMatchers(HttpMethod.PATCH, "/applications/status").hasAnyAuthority(TEACHER.name())
Expand Down

0 comments on commit 67be9ff

Please sign in to comment.