Skip to content

Commit

Permalink
chore: enable authorization on get endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
jaflaten committed Dec 3, 2024
1 parent c788ac1 commit c05892f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class NasjonalOppgaveController(
}

@GetMapping("/oppgave/{oppgaveId}")
// @PostAuthorize("@oppgaveSecurityService.hasAccessToNasjonalOppgave(#oppgaveId)")
@PostAuthorize("@oppgaveSecurityService.hasAccessToNasjonalOppgave(#oppgaveId)")
@ResponseBody
fun getPapirsykmeldingManuellOppgave(
@PathVariable oppgaveId: String,
Expand Down

0 comments on commit c05892f

Please sign in to comment.