Skip to content
This repository has been archived by the owner on Nov 30, 2022. It is now read-only.

Wrap PrivacyRequest approval/deny/complete inside transactions #1057

Open
seanpreston opened this issue Aug 9, 2022 · 0 comments
Open

Wrap PrivacyRequest approval/deny/complete inside transactions #1057

seanpreston opened this issue Aug 9, 2022 · 0 comments

Comments

@seanpreston
Copy link
Contributor

seanpreston commented Aug 9, 2022

Something that would be nice here is to wrap this new AuditLog creation into a transaction with privacy_request.save(...) — if one of these operations fails without the other we'd end up with an incomplete state, so it's better to commit them both at once.

Originally posted by @seanpreston in #1040 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant