We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The manager of the auth schema, supabase_auth_admin can create new roles on the database.
supabase_auth_admin
-- See https://github.com/supabase/postgres/blob/develop/nix/tests/expected/auth.out#L31 -- attributes of the supabase_auth_admin select rolcreaterole , rolcanlogin , rolsuper , rolinherit , rolcreatedb , rolreplication , rolconnlimit , rolbypassrls , rolvaliduntil from pg_roles r where r.rolname = 'supabase_auth_admin'; rolcreaterole | rolcanlogin | rolsuper | rolinherit | rolcreatedb | rolreplication | rolconnlimit | rolbypassrls | rolvaliduntil ---------------+-------------+----------+------------+-------------+----------------+--------------+--------------+--------------- t | t | f | f | f | f | -1 | f | (1 row)
This is likely unneeded, and following the principle of least privilege, supabase_auth_admin shouldn't be able to.
Remove this privilege for suapbase_auth_admin.
suapbase_auth_admin
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Problem
The manager of the auth schema,
supabase_auth_admin
can create new roles on the database.This is likely unneeded, and following the principle of least privilege,
supabase_auth_admin
shouldn't be able to.Solution
Remove this privilege for
suapbase_auth_admin
.The text was updated successfully, but these errors were encountered: