Skip to content

Commit 33561b9

Browse files
Add additional endpoints for visits and contacts (#723)
1 parent c2906a6 commit 33561b9

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/main/resources/globals.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,23 @@ globals:
22
roles:
33
private-prison:
44
include:
5+
- "/v1/hmpps/id/by-nomis-number/[^/]*$"
56
- "/v1/persons"
67
- "/v1/persons/[^/]*$"
8+
- "/v1/persons/.*/contacts[^/]*$"
9+
- "/v1/persons/.*/iep-level"
10+
- "/v1/persons/.*/visitor/.*/restrictions"
11+
- "/v1/persons/.*/visit-restrictions"
12+
- "/v1/persons/.*/visit-orders"
13+
- "/v1/persons/.*/visit/future"
714
- "/v1/prison/prisoners"
815
- "/v1/prison/prisoners/[^/]*$"
916
- "/v1/prison/.*/prisoners/[^/]*/balances$"
1017
- "/v1/prison/.*/prisoners/.*/accounts/.*/balances"
1118
- "/v1/prison/.*/prisoners/.*/accounts/.*/transactions"
1219
- "/v1/prison/.*/prisoners/.*/transactions/[^/]*$"
1320
- "/v1/prison/.*/prisoners/.*/transactions"
14-
- "/v1/hmpps/id/by-nomis-number/[^/]*$"
21+
- "/v1/prison/.*/prisoners/.*/non-associations"
22+
- "/v1/prison/.*/visit/search[^/]*$"
23+
- "/v1/visit/[^/]*$"
24+
- "/v1/contacts/[^/]*$"

0 commit comments

Comments
 (0)