Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APS-1768 - Allow Space Booking creation for LAOs #2743

Conversation

davidatkinsuk
Copy link
Contributor

Before this commit a RestrictedPerson would be returned when retreiving a placement request, even if the calling user has the ‘Limited Access’ qualification.

This commit changes the PlacementRequest qualification to consider this qualification. This subsequently allows space bookings to be created for LAOs where the user has the ‘limited access’ qualification

To support this a new version of OffenderService. getPersonInfoResult is added that accepts the LimitedAccessStrategy, with the existing functions being deprecated.

@davidatkinsuk davidatkinsuk changed the title APS-1768 APS-1768 - Allow Space Booking creation for LAOs Dec 23, 2024
Copy link
Contributor

@RobBoothMOJ RobBoothMOJ left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@davidatkinsuk davidatkinsuk force-pushed the feature/aps-1768-consider-lao-qualification-for-get-placement-request branch from cef0d35 to 5b6f7d2 Compare January 2, 2025 10:36
Before this commit a RestrictedPerson would be returned when retreiving a placement request, even if the calling user has the ‘Limited Access’ qualification.

This commit changes the PlacementRequest qualification to consider this qualification. This subsequently allows space bookings to be created for LAOs where the user has the ‘limited access’ qualification

To support this a new version of `OffenderService. getPersonInfoResult` is added that accepts the LimitedAccessStrategy, with the existing functions being deprecated.
@davidatkinsuk davidatkinsuk force-pushed the feature/aps-1768-consider-lao-qualification-for-get-placement-request branch from 5b6f7d2 to cf42b79 Compare January 2, 2025 12:06
@davidatkinsuk davidatkinsuk merged commit 9bcaa50 into main Jan 2, 2025
7 checks passed
@davidatkinsuk davidatkinsuk deleted the feature/aps-1768-consider-lao-qualification-for-get-placement-request branch January 2, 2025 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants