superset permission management (2)

Configure the login-free permission to allow charts in superset to be introduced into other third-party systems through iframe. The specific configuration is as follows:

 

1. Modify the attribute in the config.py file, the attribute defaults to Flase

PUBLIC_ROLE_LIKE_GAMMA = True

 After modifying this configuration, you need to restart the superset server

 

2. Edit the Public role and add permissions to the role

     1) Allow users to import expanded charts

     2) Allow the user to request the json data of the chart

     3) Allow the user to locate all data sources 

   The specific increased permissions are as follows:

      can explore on Superset

      can explore json on Superset

      all database access on all_database_access

After saving, the permissions will take effect

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326196855&siteId=291194637