Does share settings for Data element groups work while accessing Pivot table module?

Hi DHIS2 Users

I am trying to limit user’s access to certain Data element and Indicator groups in Pivot tables through restricting shared items and it doesn’t seem to be working.Hence, users are able to see even the DE groups whihc are not meant for them.

I am using DHIS2 2.21.

Is this a known thing?

Programs share settings work totally fine in Pivot table (under Program indicators).

Thank you

Deepali