Configuring Apache Superset for public and embeddable dashboards

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 11.3.0
What app is this about: Apache Superset

Describe your issue

I want to make some dashboards public, but the option is not exposed in the menu: I think the app hasn’t been packaged with this flag enabled, and as far as I understand I don’t have access to the config files described at Network and Security Settings | Superset (superset_config.py, etc.).

Do I need to uninstall the YH package and install Superset with the edited config with Docker/Mywebapp instead?

Share relevant logs or error messages

None

Hi,

Let’s try to enable that feature:

sudo yunohost app upgrade superset -u https://github.com/YunoHost-Apps/superset_ynh/tree/public_dashboards -F

Then, make sure that Visitors have the Superset permission in YunoHost’s webadmin.

1 Like

Thanks @tituspijean, I’m fiddling with settings right now to make it work.

What I wanted ultimately is to be able to embed the dashboards as described in that link, but now that I know how to change the config I’ll make a PR when I get it to function.

@tituspijean I managed to make dashboards public, which turned out to require more than a feature flag:

  • updated the config, currently on my fork (GitHub - harabat/superset_ynh at public_dashboards), PR made
  • add the Apache Superset permission to Visitors group in Yunohost webadmin
  • sudo yunohost app upgrade superset -u https://github.com/harabat/superset_ynh/tree/public_dashboards -F
  • add the Public role to the dashboard through Edit properties
  • add the following permissions to Public role in Superset:
    • can read on Chart
    • can read on Dashboard
    • can time range on Api
    • can dashboard on Superset
    • can explore json on Superset
    • can slice on Superset
    • can warm up cache on Superset

Now working on making dashboards embeddable.

1 Like