Skip to content

fix(generic_json): correctly append data when one user in multiple vos

Rastislav Kruták requested to merge rkrutak/STR-1389/fix_gen_json_users into main

Description

fix(generic_json): correctly append data when one user in multiple vos

  • when user would be a member of multiple vos on a given facility there would be only data for the first vo generated and other would be skipped

How to test

I have setup two groups in two different vos on two different resources (group1 and group2) on the facility 4612. Thus running the gen script locally for the facility and seeing whether members present in both groups have their data properly generated should be enough.

Author's checklist

  • I have followed the contribution guidelines
  • This MR has been tested or does not change functionality
  • I have added relevant merge request dependencies (if this MR has any)
  • I have added the correct labels
  • I have assigned reviewers (if any are relevant)
  • I have edited the documentation (if the changes require it) or I have noted the need for the change if I do not have access to the documentation
  • I have marked all introduced BREAKING CHANGES or necessary DEPLOYMENT NOTES in the commit message(s)

Reviewer's checklist

  • This MR has been tested or does not change functionality
  • This MR has correct commit message format

Other information

Related issues

Closes STR-1389

Merge request reports