Integration of graphs to website based on user roles #36322
Replies: 2 comments 2 replies
-
|
Hi @bpatra-ai! I'm Dosu and I’m helping the superset team. The issue is likely caused by how the guest token is generated and how the frontend integration sends chart requests. Superset enforces access control for embedded dashboards using guest tokens, which should only grant access to specific dashboards and charts. If the guest token is too permissive (for example, granting access to all datasets or charts), or if the frontend does not include the correct To fix this:
If you follow these steps, Superset should enforce the same access restrictions in embedded dashboards as it does in the main UI. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
|
@dosu
But for user follow the same step only the POST payload instead of Admin cred passed the user one but the permission is still there what admin has. It did not remove the permission for user. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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?
Beta Was this translation helpful? Give feedback.
All reactions