File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
profile-service/src/main/java/com/codecampus/profile/controller Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change 1515import lombok .experimental .FieldDefaults ;
1616import lombok .extern .slf4j .Slf4j ;
1717import org .springframework .http .MediaType ;
18- import org .springframework .security .access .prepost .PreAuthorize ;
1918import org .springframework .web .bind .annotation .GetMapping ;
2019import org .springframework .web .bind .annotation .PatchMapping ;
2120import org .springframework .web .bind .annotation .PathVariable ;
@@ -45,7 +44,6 @@ ApiResponse<UserProfileResponse> getUserProfileByUserId(
4544 .build ();
4645 }
4746
48- @ PreAuthorize ("hasRole('ADMIN')" )
4947 @ GetMapping ("/users" )
5048 ApiResponse <PageResponse <UserProfileResponse >> getAllUserProfiles (
5149 @ RequestParam (value = "page" , defaultValue = "1" ) int page ,
You can’t perform that action at this time.
0 commit comments