Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed SQL statement building logic for RemoveFilteredPolicy() #1

Merged

Conversation

bdswaney
Copy link
Contributor

@bdswaney bdswaney commented Jan 2, 2025

When building the SQL statement to remove policy rules that match the given filter from the storage, the existing code loses the information built up in the selector and sets all WHERE clauses to match on the the single value "val".
This PR restores the proper behavior for the RemoveFilteredPolicy method.

@flowerinthenight flowerinthenight merged commit 0689bab into flowerinthenight:main Jan 8, 2025
1 check failed
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.

2 participants