Skip to content

Commit 23385d1

Browse files
authored
PI-2526 Fix admin role (#784)
1 parent 7769463 commit 23385d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/uk/gov/justice/hmpps/probationsearch/contactsearch/ContactSearchController.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import org.springframework.web.bind.annotation.*
99
@RestController
1010
@RequestMapping("/search/contacts")
1111
class ContactSearchController(val contactSearchService: ContactSearchService) {
12-
@PreAuthorize("hasAnyRole('ROLE_PROBATION_CONTACT_SEARCH', 'ROLE_PROBATION_INTEGRAION_ADMIN')")
12+
@PreAuthorize("hasAnyRole('ROLE_PROBATION_CONTACT_SEARCH', 'ROLE_PROBATION_INTEGRATION_ADMIN')")
1313
@RequestMapping(method = [RequestMethod.GET, RequestMethod.POST])
1414
fun searchContact(
1515
@RequestBody request: ContactSearchRequest,

0 commit comments

Comments
 (0)