Skip to content

[CU-86bd1pece] List catalogs with SHOW CATALOGS - #188

Merged
janfaron merged 1 commit into
mainfrom
List-tables-with-show-catalogs-CU-86bd1pece
Nov 11, 2026
Merged

janfaron merged 1 commit into
mainfrom
List-tables-with-show-catalogs-CU-86bd1pece

Conversation

@janfaron

Copy link
Copy Markdown
Contributor

Summary

Listing Data Connect tables in a tenant was refused for every caller, because it read Trino's system.metadata.catalogs table, which a tenant may not reach.
Data Connect now lists catalogs with SHOW CATALOGS, which Trino answers from the catalogs the caller may reach, without reading a table in the system catalog.

Listing tables read system.metadata.catalogs, which collection-service's tenant catalog check refuses in a tenant,
so nobody could list a tenant's tables. Trino answers SHOW CATALOGS from its catalog list, filtered by the access
control's filterCatalogs and sorted by name, without an access check on a table in the system catalog.
@platform-automation-dnastack

Copy link
Copy Markdown

@janfaron
janfaron merged commit 53f01a0 into main Nov 11, 2026
@janfaron
janfaron deleted the List-tables-with-show-catalogs-CU-86bd1pece branch November 11, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants