Hello,
I’m having trouble creating user permissions for charts in my dashboard. I’ve created an authenticated dashboard with Atlas App Services as my Authentication provider. In creating an authentication provider, I’ve made sure that fetch data from app services is toggled on. My rules for my data source is as below:
Despite this, when I login as a user with specific permissions, I get the same output as a user with the no permissions. I’m not sure what I’m doing wrong here. Hope someone can help!
Alternatively, I’ve tried to also use an Injected function with this code:
if(context.token.custom_data.company){
return { owner_id: context.token.custom_data.company };
}
return {};
But this still displays the chart header - just without the data included which is not what I want.
Thank you in advance for your help!