Skip to content

chore: Validate AOC on updates and deletes [DHIS2-20158]#23824

Merged
muilpp merged 4 commits into
masterfrom
DHIS2-20158-aoc-validation
May 11, 2026
Merged

chore: Validate AOC on updates and deletes [DHIS2-20158]#23824
muilpp merged 4 commits into
masterfrom
DHIS2-20158-aoc-validation

Conversation

@muilpp

@muilpp muilpp commented May 6, 2026

Copy link
Copy Markdown
Contributor

As done in #23752,
I'm validating the AOC of enrollments and events in case of update and delete.
When it comes to update, we check first if the payload contains it. If it does and it's different than the one in the database, both of them have to be accessible for the user to successfully update the object.
For delete, we check the AOC in the database.

@muilpp
muilpp marked this pull request as ready for review May 7, 2026 13:08
@muilpp
muilpp requested a review from a team as a code owner May 7, 2026 13:08
@enricocolasante
enricocolasante requested a review from a team May 11, 2026 07:17
@muilpp
muilpp enabled auto-merge (squash) May 11, 2026 08:41
@sonarqubecloud

Copy link
Copy Markdown

@muilpp
muilpp merged commit 15be80c into master May 11, 2026
18 checks passed
@muilpp
muilpp deleted the DHIS2-20158-aoc-validation branch May 11, 2026 08:57
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