I have an OLAP (multidimensional) cube where I have implemented dimensional security by adding an MDX expression to a cube dimension (using the UserName() function).
The security model works fine and the user gets restricted access to data in the cube.
I have also added some drillthrough actions. This works fine when the dimension that is used for the dimensional security is included in the pivot table. But when they are not included in the pivot table (for example if you have a pivot table consisting of a measure only) the drillthrough action returns data/rows that should be occluded by the security model (dimensional security).
Is this as expected? Are there any workarounds?