Skip to content

Manual metadata sync of User Groups behaves inconsistently#1053

Open
anagperal wants to merge 1 commit intodevelopmentfrom
fix/user-groups-metadata-sync
Open

Manual metadata sync of User Groups behaves inconsistently#1053
anagperal wants to merge 1 commit intodevelopmentfrom
fix/user-groups-metadata-sync

Conversation

@anagperal
Copy link
Copy Markdown
Contributor

@anagperal anagperal commented Mar 10, 2026

📌 References

📝 Implementation

  • Do not remove user, userGroups , organisationUnits, userRoles when is the metadata requested to be sync

📹 Screenshots/Screen capture

users_removeAll.json
users_onlyRefs.json
users_includeAll.json
userGroups_removeAll.json
UserGroups_onlyRefs.json
userGroups_include_all.json
orgUnit_includeAll.json
orgUnit_removeAll.json
remove_orgunit.json

🔥 Is there anything the reviewer should know to test it?

Tested in https://play.im.dhis2.org/stable-2-41-8

  • Download json when sync user group adding remove sharing settings
  • Download json when sync user adding remove users
  • Download json when sync org unit adding remove orgunits

📑 Others

  • Any change in the GUI library? If so, what branch/PR?

  • Any change in the D2 Api? If so, what branch/PR?

@ifoche
Copy link
Copy Markdown
Member

ifoche commented Mar 10, 2026

@anagperal anagperal requested a review from MiquelAdell March 10, 2026 07:57
@bundlemon
Copy link
Copy Markdown

bundlemon bot commented Mar 10, 2026

BundleMon

No change in files bundle size

Groups updated (1)
Status Path Size Limits
Build Folder
./**/*
2.78MB (-28B 0%) +20%

Final result: ✅

View report in BundleMon website ➡️


Current branch size history | Target branch size history

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