Skip to content

Conversation

@forus
Copy link
Contributor

@forus forus commented Oct 8, 2025

There are select queries that start with WITH statement (CTE) and many more.
We have to limit the db user to select queries on the database and the system database (to explore tables and their columns) instead.

There are select queries that start with WITH statement (CTE) and many
more.
We have to limit the db user to select queries on the database and the
system database (to explore tables and their columns) instead.
@forus forus requested a review from inodb October 8, 2025 11:13
@inodb
Copy link
Member

inodb commented Oct 9, 2025

Created a new user for this, but couldn't enable system selects for some reason. Prolly better to not enable that. See also this ticket: #5

@inodb inodb closed this Oct 9, 2025
@inodb inodb reopened this Oct 9, 2025
@inodb
Copy link
Member

inodb commented Oct 9, 2025

Prolly good to implement this permission checking as part of this PR: #4

@forus
Copy link
Contributor Author

forus commented Oct 9, 2025

@inodb good points. Let's this change for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants