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.

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 ?
I tried this with an alpha + sql_lab user, apart from admin as well. Is there anyway there is a security role to do this?
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?
Make sure these boxes are checked before submitting your issue - thank you!
Superset version
0.24.0
I added a presto datasource named as

PrestoVizsin this manner:presto://presto_server_url:8080/catalog_name/db_name, where db_name ismlp_visualizationsin this case .to the list of databases.
However, In SQL Lab , all databases in the catalog are exposed.
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?I tried this with an
alpha + sql_labuser, apart from admin as well. Is there anyway there is a security role to do this?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?