mirror of https://github.com/citusdata/citus.git
Fixes missing flag error
parent
ad938fd79f
commit
a8fae40417
|
@ -58,7 +58,7 @@ test: multi_metadata_attributes
|
|||
|
||||
test: multi_read_from_secondaries
|
||||
|
||||
test: grant_on_database_propagation
|
||||
test: grant_on_database_propagation grant_on_database_propagation_from_non_maindb
|
||||
test: alter_database_propagation
|
||||
|
||||
test: citus_shards
|
||||
|
|
|
@ -3,21 +3,16 @@
|
|||
-- since public role privileges are inherited by new roles/users
|
||||
set citus.enable_create_database_propagation to on;
|
||||
create database test_2pc_db;
|
||||
|
||||
show citus.main_db;
|
||||
|
||||
revoke connect,temp,temporary on database test_2pc_db from public;
|
||||
|
||||
|
||||
|
||||
CREATE SCHEMA grant_on_database_propagation_non_maindb;
|
||||
SET search_path TO grant_on_database_propagation_non_maindb;
|
||||
|
||||
|
||||
-- test grant/revoke CREATE privilege propagation on database
|
||||
create user "myuser'_test";
|
||||
|
||||
|
||||
\c test_2pc_db - - :master_port
|
||||
grant create on database test_2pc_db to "myuser'_test";
|
||||
|
||||
|
@ -248,4 +243,6 @@ drop database test_2pc_db;
|
|||
set citus.enable_create_database_propagation to off;
|
||||
DROP SCHEMA grant_on_database_propagation_non_maindb CASCADE;
|
||||
|
||||
reset citus.enable_create_database_propagation;
|
||||
|
||||
---------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue