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 supautils.superuser GUC #99

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

steve-chavez
Copy link
Member

@steve-chavez steve-chavez commented Dec 11, 2024

Acts the same as the supautils.privileged_extensions_superuser GUC, this is still maintained for backwards compatibility.

Also renames variables to clarify the codebase.

Related to the discussion on #67 (comment)

Acts the same as the supautils.privileged_extensions_superuser GUC, this
is still maintained for backwards compatibility.

Also renames variables to clarify the codebase.
static char *privileged_extensions_custom_scripts_path = NULL;
static char *privileged_role = NULL;
static char *privileged_role = NULL; // the privileged_role is a proxy role for the `supautils.superuser` role
Copy link
Member Author

@steve-chavez steve-chavez Dec 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@soedirgo This comment clarifies a lot, let me know if it's correct.

@laurenceisla
Copy link

Not fully acquainted with the code base but the change seems harmless. Approving to unblock.

@steve-chavez steve-chavez merged commit a9519f6 into supabase:master Dec 11, 2024
6 checks passed
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