[Bug 1621496] [NEW] DataViewOrgunit empty for self-registered user

Public bug reported:

When users are registered by using the self-registration procedure, their dataViewOrgunit is left empty.
This causes that hierarchy visibility in analysis tools (pivot, visualizer) is not restricted and they are able to see the whole hierarchy.
It would be better to assign the self-registration orgunit for both "organisationUnits" and "dataViewOrganisationUnits".

Affected versions: 2.21 --- 2.24

** Affects: dhis2
     Importance: Undecided
         Status: New

···

--
You received this bug notification because you are a member of DHIS 2
developers, which is subscribed to DHIS.
https://bugs.launchpad.net/bugs/1621496

Title:
  DataViewOrgunit empty for self-registered user

Status in DHIS:
  New

Bug description:
  When users are registered by using the self-registration procedure, their dataViewOrgunit is left empty.
  This causes that hierarchy visibility in analysis tools (pivot, visualizer) is not restricted and they are able to see the whole hierarchy.
  It would be better to assign the self-registration orgunit for both "organisationUnits" and "dataViewOrganisationUnits".

  Affected versions: 2.21 --- 2.24

To manage notifications about this bug go to:
https://bugs.launchpad.net/dhis2/+bug/1621496/+subscriptions