Hello Superset team .
I run superset by docker-compose-non-dev.yml file.
I saw a strange case in my dashboard.  I created a dashboard and I
imported  one chart in it . When I load my dashboard I have several xhr
requests in my google chrome network section.
as you can see in bellow photo we have several xhr request :

[image: Screenshot from 2021-11-06 14-10-23.png]

i expand two of them for you :

First :   datasets
as you can see you give some details that are not necessary for all users.
why user can see important details such as table names,columns names and
our queries ?  I searched in your docs but I did not find any .
I guessed maybe if I run superset by docker-compose-non-dev it will run on
production mode and we will not see this information but my guess was wrong
.
[image: Screenshot from 2021-11-06 14-12-22.jpg]

Second:
http://localhost:8088/api/v1/chart/data?form_data=%7B%22slice_id%22%3A1%7D&dashboard_id=1
In this case we have a previous problem too . We are seeing some data that
should be hidden.  i know that we can handle this by    result_type  parameter
that it can give on of these values [ columns,full,query and ...  ]
but i do not know how we can pass this value to this parameter when we are
loading dashboard in Superset or how we can set 'columns' by default for
 result_type [image: Screenshot from 2021-11-06 14-29-41.jpg]


I hope you answer me .  I am waiting for your answer. Thanks .

Reply via email to