Skip to content

Conversation

@calmcivica
Copy link

Fixes #166

Wire validate_semantic_view_tool into CheckQueryType middleware so semantic tools respect sql_statement_permissions. Fix if/elif logic error in both validate_semantic_view_tool and validate_object_tool to match the correct pattern used in validate_sql_type.

Bug 3 (unvalidated where_clause/order_by interpolation) is reported in the issue but not addressed in this PR.

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.

Semantic view tools bypass permission middleware; if/elif logic error in validators

2 participants