Section access - No result then message should be displayed
I have implemented section access and its working fine, but now my client asked like if someone doesn't have access and he is trying to access the mashup or dashboard, some message should be displayed the on dashboard saying "You do not have any data access for this dashboard".
What I've tried is, whenever the user is logged, all reduction columns data I am putting into KPI object and in the mashup, I am checking if we have KPI data or not. But when the user doesn't have any access this is not working as expected.
In section access script can we do something like this?