GitHub user bpatra-ai created a discussion: Integration of graphs to website based on user roles
<img width="1716" height="222" alt="image" src="https://github.com/user-attachments/assets/63ed0ccd-dbd0-43f2-a9c1-ca21f04f49da" /> This button is generated based on handlebar chart and has the data which a user do not access to. I have two users one is Admin role and one is user role. User do not have access to the above handlebar chart but while integrating to front-end the chart is visible to all users. In apache superset it's not visible got a error not have a access to data source but on front-end integration user able to access it. What is the possible solution? await embedDashboard({ id: dashboardId, supersetDomain, mountPoint: mount, fetchGuestToken: async () => '<token generated by swagger guest_token API>', dashboardUiConfig: { hideTitle: true, hideChartControls: true, filters: { visible: false }, urlParams: { standalone: "1", show_filters: "0", show_native_filters: "0" } } }); GitHub link: https://github.com/apache/superset/discussions/36322 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
