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 2018/06/15 06:35:50 UTC

[GitHub] SanjayJosh opened a new issue #5207: Database restriction in SQL Lab.

SanjayJosh opened a new issue #5207: Database restriction in SQL Lab.
URL: https://github.com/apache/incubator-superset/issues/5207
 
 
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [ ✅] I have checked the superset logs for python stacktraces and included it here as text if any
   - [ ✅] I have reproduced the issue with at least the latest released version of superset
   - [ ✅ ] I have checked the issue tracker for the same issue and I haven't found one similar
   
   
   ### Superset version
   0.24.0
   
   I added a presto datasource named as `PrestoVizs` in this manner:
   ``presto://presto_server_url:8080/catalog_name/db_name`` , where db_name is `mlp_visualizations` in this case .
   to the list of databases.
   However,  In SQL Lab , all databases in the catalog are exposed.
   <img width="547" alt="screen shot 2018-06-15 at 12 01 13 pm" src="https://user-images.githubusercontent.com/12672572/41453563-ddcb0c3e-7093-11e8-8bbc-d099d33a840a.png">
   
   
   Is there any way to restrict the schemas, or in this case the 'databases' from my presto catalog  exposed in SQL Lab editor just to the `dbname` ? 
   Or does one have to change the source code to restrict to just a single schema? If so can you point me in the direction for the same?
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org