Skip to content

[PRMP-1447] Implement "Soft Delete" Logic for UpdateStatusUserRestriction Lambda#1156

Open
steph-torres-nhs wants to merge 18 commits intomainfrom
PRMP-1447
Open

[PRMP-1447] Implement "Soft Delete" Logic for UpdateStatusUserRestriction Lambda#1156
steph-torres-nhs wants to merge 18 commits intomainfrom
PRMP-1447

Conversation

@steph-torres-nhs
Copy link
Contributor

@steph-torres-nhs steph-torres-nhs commented Mar 6, 2026

Overview

Jira ticket: PRMP-1447

Description

Creation of service and handler to handle soft delete of user restrictions

Context

User Restrictions feature

Checklist

Tasks for all changes:


return ApiGatewayResponse(
status_code=204,
body=json.dumps("No content"),
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think a body is needed right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah doesn't use it

pass


class UserRestrictionNotFoundException(Exception):
Copy link
Contributor

Choose a reason for hiding this comment

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

This isn't being used

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

"message": "Malformed user restriction model error",
}

UserRestrictionNotFound = {
Copy link
Contributor

Choose a reason for hiding this comment

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

This isn't being used

Copy link
Contributor Author

Choose a reason for hiding this comment

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

removed

SWhyteAnswer
SWhyteAnswer previously approved these changes Mar 6, 2026
@github-actions
Copy link

github-actions bot commented Mar 9, 2026

Code security issues found

View full details here.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Mar 9, 2026

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.

3 participants