콘텐츠 테마 API 권한 수정
This commit is contained in:
parent
70255273ed
commit
b6cdeee548
|
@ -15,9 +15,9 @@ import org.springframework.web.bind.annotation.RestController
|
|||
|
||||
@RestController
|
||||
@RequestMapping("/audio-content/theme")
|
||||
@PreAuthorize("hasRole('CREATOR')")
|
||||
class AudioContentThemeController(private val service: AudioContentThemeService) {
|
||||
@GetMapping
|
||||
@PreAuthorize("hasRole('CREATOR')")
|
||||
fun getThemes(
|
||||
@AuthenticationPrincipal(expression = "#this == 'anonymousUser' ? null : member") member: Member?
|
||||
) = run {
|
||||
|
|
Loading…
Reference in New Issue