You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/11/08 13:50:57 UTC
[GitHub] [superset] m-jooibar opened a new issue #17371: hide database , tables , schema information in xhr responses . default is 'full'
m-jooibar opened a new issue #17371:
URL: https://github.com/apache/superset/issues/17371
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 :

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 .

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

I hope you answer me . I am waiting for your answer. Thanks .
@villebro
@betodealmeida
@john-bodley
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] junlincc commented on issue #17371: Can we hide database, table, schema information in xhr responses?
Posted by GitBox <gi...@apache.org>.
junlincc commented on issue #17371:
URL: https://github.com/apache/superset/issues/17371#issuecomment-966028731
thanks @srinify ! should we add it to our FAQ page?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] junlincc closed issue #17371: Can we hide database, table, schema information in xhr responses?
Posted by GitBox <gi...@apache.org>.
junlincc closed issue #17371:
URL: https://github.com/apache/superset/issues/17371
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
[GitHub] [superset] srinify commented on issue #17371: Can we hide database, table, schema information in xhr responses?
Posted by GitBox <gi...@apache.org>.
srinify commented on issue #17371:
URL: https://github.com/apache/superset/issues/17371#issuecomment-964122788
To add some color from @nytai who responded in Slack, one option could be to "sanitize" the information shown in the frontend based on the permissions the user has.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org