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

fix: Check owner when getting TE with superuser [DHIS2-16981] #17840

Merged
merged 6 commits into from
Jun 24, 2024

Conversation

muilpp
Copy link
Contributor

@muilpp muilpp commented Jun 19, 2024

Transferred enrollments were not showing up at the correct org unit when using a superuser, the cause was we were always using the registering org unit of a TE to validate whether that particular user could access the enrollment or not. This meant an enrollment would show up only if the registering org unit was selected, regardless of whether that enrollment was transferred or not.

Ticket: https://dhis2.atlassian.net/browse/DHIS2-16981

@muilpp muilpp marked this pull request as ready for review June 19, 2024 15:46
@muilpp muilpp requested a review from a team June 19, 2024 15:46
@enricocolasante enricocolasante requested a review from a team June 20, 2024 06:53
@muilpp muilpp enabled auto-merge (squash) June 24, 2024 11:04
Copy link

sonarcloud bot commented Jun 24, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants