Controller💡@PreAuthorize@PreAuthorize("hasRole('MASTER')")@PutMapping("/users/{userId}")public void update( @PathVariable Long userId, @AuthenticationPrincipal CustomUserDetails user) {}userRole 역할 별로 필터링 하기💡@AuthenticationPrincipal@GetMapping("/profile")public ResponseEntity profile( @AuthenticationPrincipal CustomUserDetails userDetails) { profileService.getProfile(us..