Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to create read only dashboard in Apache Superset

So we have been using Apache Superset, It's a great tool.

The only frustration come from that there are a few dashboards we want to share with users outside the company.

I believe right now the way to do it is go from the Gamma user then create a read only role (Correct me if I'm wrong)

There are a few downside of this:

  1. we need to create a view per user on each table to make sure that they do not see the records that they are not supposed to.
  2. the access is given by datasource, so they will be able to see any dashboard that use the same datasource, which can be a problem sometimes.
  3. all of these authentication is a lot of work to maintain.

I'm wondering if there is any way (or even hack) to simply share the graphs and tables as a dashboard, without any database access granted.

Like a frozen or snapshot of dashboard, like the way Redash does it: https://redash.io/help/user-guide/dashboards/sharing-dashboards

like image 497
qichao_he Avatar asked May 11 '18 14:05

qichao_he


1 Answers

What you are looking for can be achieved through a combination of the public user and appending ?standalone=true to the dashboard url. You also don't need the entire list of Gamma user permissions, the most important ones are can explore on superset, explore json on superset and datasource access and csrf token. This basically renders the dashboards without the superset menu and should make everything readonly.

like image 191
Agnes kyenze Avatar answered Oct 25 '22 03:10

Agnes kyenze