mirror of
https://github.com/postgres/postgres.git
synced 2025-06-11 20:28:21 +03:00
Revoke PUBLIC CREATE from public schema, now owned by pg_database_owner.
This switches the default ACL to what the documentation has recommended since CVE-2018-1058. Upgrades will carry forward any old ownership and ACL. Sites that declined the 2018 recommendation should take a fresh look. Recipes for commissioning a new database cluster from scratch may need to create a schema, grant more privileges, etc. Out-of-tree test suites may require such updates. Reviewed by Peter Eisentraut. Discussion: https://postgr.es/m/20201031163518.GB4039133@rfd.leadboat.com
This commit is contained in:
@ -2797,7 +2797,7 @@ $d$;
|
||||
CREATE USER MAPPING FOR public SERVER loopback_nopw;
|
||||
CREATE USER MAPPING FOR CURRENT_USER SERVER loopback_nopw;
|
||||
|
||||
CREATE FOREIGN TABLE ft1_nopw (
|
||||
CREATE FOREIGN TABLE pg_temp.ft1_nopw (
|
||||
c1 int NOT NULL,
|
||||
c2 int NOT NULL,
|
||||
c3 text,
|
||||
|
Reference in New Issue
Block a user