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

feat: add current_setting initplan advisor for rls, improve patterns #102

Merged
merged 5 commits into from
Dec 6, 2024

Conversation

hf
Copy link
Contributor

@hf hf commented Dec 6, 2024

Adds the current_setting match for the RLS initplan lint rule. Also improves the pattern matching to support different use of blanks in the RLS policy code.

@hf hf force-pushed the hf/initplan-current-setting branch 4 times, most recently from ed4fa55 to 91aa65f Compare December 6, 2024 13:53
Adds the `current_setting` match for the [RLS initplan]() lint rule. Also improves the pattern matching to support different use of blanks in the RLS policy code.
@hf hf force-pushed the hf/initplan-current-setting branch from 91aa65f to f7f6609 Compare December 6, 2024 13:59
lints/0003_auth_rls_initplan.sql Outdated Show resolved Hide resolved
lints/0003_auth_rls_initplan.sql Show resolved Hide resolved
@olirice olirice self-requested a review December 6, 2024 15:27
lints/0003_auth_rls_initplan.sql Outdated Show resolved Hide resolved
@olirice olirice merged commit b1a5722 into main Dec 6, 2024
2 checks passed
@hf hf deleted the hf/initplan-current-setting branch December 6, 2024 16:59
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