diff --git a/features/readwrite-splitting/distsql/handler/src/main/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/checker/ReadwriteSplittingRuleStatementChecker.java b/features/readwrite-splitting/distsql/handler/src/main/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/checker/ReadwriteSplittingRuleStatementChecker.java index b536498cb7182..144d6141e6962 100644 --- a/features/readwrite-splitting/distsql/handler/src/main/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/checker/ReadwriteSplittingRuleStatementChecker.java +++ b/features/readwrite-splitting/distsql/handler/src/main/java/org/apache/shardingsphere/readwritesplitting/distsql/handler/checker/ReadwriteSplittingRuleStatementChecker.java @@ -239,7 +239,7 @@ private static void checkProperties(final ReadwriteSplittingRuleSegment each) { private static void checkDataSource(final ReadwriteSplittingRuleSegment ruleSegment) { Collection weightKeys = ruleSegment.getLoadBalancer().getProps().stringPropertyNames(); weightKeys.forEach(each -> ShardingSpherePreconditions.checkContains(ruleSegment.getReadDataSources(), each, - () -> new InvalidAlgorithmConfigurationException("Load balancer", ruleSegment.getLoadBalancer().getName(), String.format("Can not find read storge unit '%s'", each)))); + () -> new InvalidAlgorithmConfigurationException("Load balancer", ruleSegment.getLoadBalancer().getName(), String.format("Can not find read storage unit '%s'", each)))); ruleSegment.getReadDataSources().forEach(each -> ShardingSpherePreconditions.checkContains(weightKeys, each, () -> new InvalidAlgorithmConfigurationException("Load balancer", ruleSegment.getLoadBalancer().getName(), String.format("Weight of '%s' is required", each)))); } diff --git a/proxy/backend/core/src/test/resources/conf/config_loader/global.yaml b/proxy/backend/core/src/test/resources/conf/config_loader/global.yaml index ae9511743582d..7c6125a1e9569 100644 --- a/proxy/backend/core/src/test/resources/conf/config_loader/global.yaml +++ b/proxy/backend/core/src/test/resources/conf/config_loader/global.yaml @@ -27,6 +27,7 @@ authority: users: - user: root password: root + admin: true privilege: type: ALL_PERMITTED diff --git a/proxy/backend/core/src/test/resources/conf/swap/global.yaml b/proxy/backend/core/src/test/resources/conf/swap/global.yaml index c80ed8c62fb97..d14fb8c6561c3 100644 --- a/proxy/backend/core/src/test/resources/conf/swap/global.yaml +++ b/proxy/backend/core/src/test/resources/conf/swap/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: root password: 123 + admin: true privilege: type: test diff --git a/proxy/bootstrap/src/main/resources/conf/global.yaml b/proxy/bootstrap/src/main/resources/conf/global.yaml index e7c63fb0e9b7b..498d440145d12 100644 --- a/proxy/bootstrap/src/main/resources/conf/global.yaml +++ b/proxy/bootstrap/src/main/resources/conf/global.yaml @@ -37,6 +37,7 @@ # users: # - user: root@% # password: root +# admin: true # - user: sharding # password: sharding # privilege: diff --git a/proxy/bootstrap/src/test/resources/conf/local/global.yaml b/proxy/bootstrap/src/test/resources/conf/local/global.yaml index 2f0cac2644717..0bf9f9ffa90b6 100644 --- a/proxy/bootstrap/src/test/resources/conf/local/global.yaml +++ b/proxy/bootstrap/src/test/resources/conf/local/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: root password: root + admin: true - user: sharding password: sharding privilege: diff --git a/proxy/bootstrap/src/test/resources/conf/reg_center/global.yaml b/proxy/bootstrap/src/test/resources/conf/reg_center/global.yaml index 870ec967c62b5..50eb902ffcc73 100644 --- a/proxy/bootstrap/src/test/resources/conf/reg_center/global.yaml +++ b/proxy/bootstrap/src/test/resources/conf/reg_center/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: root password: root + admin: true - user: sharding password: sharding privilege: diff --git a/test/e2e/agent/engine/src/test/resources/env/proxy/conf/global.yaml b/test/e2e/agent/engine/src/test/resources/env/proxy/conf/global.yaml index 416474ae59e8d..134f10068cc70 100644 --- a/test/e2e/agent/engine/src/test/resources/env/proxy/conf/global.yaml +++ b/test/e2e/agent/engine/src/test/resources/env/proxy/conf/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/operation/pipeline/src/test/resources/env/mariadb/global.yaml b/test/e2e/operation/pipeline/src/test/resources/env/mariadb/global.yaml index 58be9050c076e..f19a7368012d4 100644 --- a/test/e2e/operation/pipeline/src/test/resources/env/mariadb/global.yaml +++ b/test/e2e/operation/pipeline/src/test/resources/env/mariadb/global.yaml @@ -27,6 +27,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/operation/pipeline/src/test/resources/env/mysql/global.yaml b/test/e2e/operation/pipeline/src/test/resources/env/mysql/global.yaml index f4b7c3d23eb09..ad80a6ea154ef 100644 --- a/test/e2e/operation/pipeline/src/test/resources/env/mysql/global.yaml +++ b/test/e2e/operation/pipeline/src/test/resources/env/mysql/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/operation/pipeline/src/test/resources/env/opengauss/global.yaml b/test/e2e/operation/pipeline/src/test/resources/env/opengauss/global.yaml index 03843b827810f..fb134f08a2086 100644 --- a/test/e2e/operation/pipeline/src/test/resources/env/opengauss/global.yaml +++ b/test/e2e/operation/pipeline/src/test/resources/env/opengauss/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/operation/pipeline/src/test/resources/env/postgresql/global.yaml b/test/e2e/operation/pipeline/src/test/resources/env/postgresql/global.yaml index 59d03eba60a05..c10d6a573d148 100644 --- a/test/e2e/operation/pipeline/src/test/resources/env/postgresql/global.yaml +++ b/test/e2e/operation/pipeline/src/test/resources/env/postgresql/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/operation/showprocesslist/src/test/resources/env/common/cluster/proxy/zookeeper/conf/global.yaml b/test/e2e/operation/showprocesslist/src/test/resources/env/common/cluster/proxy/zookeeper/conf/global.yaml index f71efe772b1a9..cf2949959c810 100644 --- a/test/e2e/operation/showprocesslist/src/test/resources/env/common/cluster/proxy/zookeeper/conf/global.yaml +++ b/test/e2e/operation/showprocesslist/src/test/resources/env/common/cluster/proxy/zookeeper/conf/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/operation/showprocesslist/src/test/resources/env/common/standalone/proxy/conf/global.yaml b/test/e2e/operation/showprocesslist/src/test/resources/env/common/standalone/proxy/conf/global.yaml index 68ee1192a184d..841607a55b3aa 100644 --- a/test/e2e/operation/showprocesslist/src/test/resources/env/common/standalone/proxy/conf/global.yaml +++ b/test/e2e/operation/showprocesslist/src/test/resources/env/common/standalone/proxy/conf/global.yaml @@ -19,6 +19,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/operation/transaction/src/test/resources/env/mysql/global.yaml b/test/e2e/operation/transaction/src/test/resources/env/mysql/global.yaml index 2986d1cfd8869..2a3bd2f1565a3 100644 --- a/test/e2e/operation/transaction/src/test/resources/env/mysql/global.yaml +++ b/test/e2e/operation/transaction/src/test/resources/env/mysql/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/operation/transaction/src/test/resources/env/opengauss/global.yaml b/test/e2e/operation/transaction/src/test/resources/env/opengauss/global.yaml index fe2f9af239a53..feab98a11a4ef 100644 --- a/test/e2e/operation/transaction/src/test/resources/env/opengauss/global.yaml +++ b/test/e2e/operation/transaction/src/test/resources/env/opengauss/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/operation/transaction/src/test/resources/env/postgresql/global.yaml b/test/e2e/operation/transaction/src/test/resources/env/postgresql/global.yaml index a391422521139..271ff08016a57 100644 --- a/test/e2e/operation/transaction/src/test/resources/env/postgresql/global.yaml +++ b/test/e2e/operation/transaction/src/test/resources/env/postgresql/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/common/cluster/proxy/conf/global.yaml b/test/e2e/sql/src/test/resources/env/common/cluster/proxy/conf/global.yaml index 6464cd28fd79d..34e9b99aca08a 100644 --- a/test/e2e/sql/src/test/resources/env/common/cluster/proxy/conf/global.yaml +++ b/test/e2e/sql/src/test/resources/env/common/cluster/proxy/conf/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/common/standalone/proxy/conf/global.yaml b/test/e2e/sql/src/test/resources/env/common/standalone/proxy/conf/global.yaml index 9d876870a19df..199f2a1e8f73c 100644 --- a/test/e2e/sql/src/test/resources/env/common/standalone/proxy/conf/global.yaml +++ b/test/e2e/sql/src/test/resources/env/common/standalone/proxy/conf/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/db/proxy/mode/cluster/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/db/proxy/mode/cluster/global.yaml index 7d2f3119890bc..e16b55b19622e 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/db/proxy/mode/cluster/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/db/proxy/mode/cluster/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/db/proxy/mode/standalone/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/db/proxy/mode/standalone/global.yaml index 6cbc30c11cec3..a54e1c478608a 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/db/proxy/mode/standalone/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/db/proxy/mode/standalone/global.yaml @@ -19,6 +19,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/proxy/mode/cluster/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/proxy/mode/cluster/global.yaml index f057c1ed4f380..3e0de8fe8ac7e 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/proxy/mode/cluster/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/proxy/mode/cluster/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/proxy/mode/standalone/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/proxy/mode/standalone/global.yaml index 76789096ff4b0..49d026ce30bf6 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/proxy/mode/standalone/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/db_tbl_sql_federation/proxy/mode/standalone/global.yaml @@ -19,6 +19,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/proxy/mode/cluster/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/proxy/mode/cluster/global.yaml index b443c588e8577..c668a3459575c 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/proxy/mode/cluster/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/proxy/mode/cluster/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/proxy/mode/standalone/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/proxy/mode/standalone/global.yaml index aef1f5d0d8e0f..a28537f9714ad 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/proxy/mode/standalone/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting/proxy/mode/standalone/global.yaml @@ -19,6 +19,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/proxy/mode/cluster/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/proxy/mode/cluster/global.yaml index b443c588e8577..c668a3459575c 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/proxy/mode/cluster/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/proxy/mode/cluster/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/proxy/mode/standalone/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/proxy/mode/standalone/global.yaml index aef1f5d0d8e0f..a28537f9714ad 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/proxy/mode/standalone/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/dbtbl_with_readwrite_splitting_and_encrypt/proxy/mode/standalone/global.yaml @@ -19,6 +19,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/empty_rules/proxy/mode/cluster/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/empty_rules/proxy/mode/cluster/global.yaml index d2e91bb212a87..c3040ca9082b1 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/empty_rules/proxy/mode/cluster/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/empty_rules/proxy/mode/cluster/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/empty_rules/proxy/mode/standalone/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/empty_rules/proxy/mode/standalone/global.yaml index aef1f5d0d8e0f..a28537f9714ad 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/empty_rules/proxy/mode/standalone/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/empty_rules/proxy/mode/standalone/global.yaml @@ -19,6 +19,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/cluster/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/cluster/global.yaml index c61f76d60f4c6..fc2946d3ba848 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/cluster/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/cluster/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/cluster/mysql/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/cluster/mysql/global.yaml index 4ebb9ff2c9807..894dd585dc79f 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/cluster/mysql/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/cluster/mysql/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/cluster/opengauss/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/cluster/opengauss/global.yaml index 6d094d12c92db..a8adcf712d2f9 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/cluster/opengauss/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/cluster/opengauss/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/cluster/postgresql/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/cluster/postgresql/global.yaml index afe58d8394322..9041b6be1a39a 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/cluster/postgresql/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/cluster/postgresql/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/standalone/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/standalone/global.yaml index aef1f5d0d8e0f..a28537f9714ad 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/standalone/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/standalone/global.yaml @@ -19,6 +19,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/standalone/mysql/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/standalone/mysql/global.yaml index 584e48aabc914..a7aa90c9767bb 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/standalone/mysql/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/standalone/mysql/global.yaml @@ -19,6 +19,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/standalone/opengauss/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/standalone/opengauss/global.yaml index 11695cb7cca96..cb18f4abb65df 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/standalone/opengauss/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/standalone/opengauss/global.yaml @@ -19,6 +19,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/standalone/postgresql/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/standalone/postgresql/global.yaml index 7c7a008a93e68..26a93a1dc5ba2 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/standalone/postgresql/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/empty_storage_units/proxy/mode/standalone/postgresql/global.yaml @@ -19,6 +19,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/proxy/mode/cluster/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/proxy/mode/cluster/global.yaml index f71efe772b1a9..cf2949959c810 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/proxy/mode/cluster/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/proxy/mode/cluster/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/proxy/mode/standalone/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/proxy/mode/standalone/global.yaml index 68ee1192a184d..841607a55b3aa 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/proxy/mode/standalone/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/sharding_and_encrypt/proxy/mode/standalone/global.yaml @@ -19,6 +19,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/tbl/proxy/mode/cluster/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/tbl/proxy/mode/cluster/global.yaml index 7d2f3119890bc..e16b55b19622e 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/tbl/proxy/mode/cluster/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/tbl/proxy/mode/cluster/global.yaml @@ -31,6 +31,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/e2e/sql/src/test/resources/env/scenario/tbl/proxy/mode/standalone/global.yaml b/test/e2e/sql/src/test/resources/env/scenario/tbl/proxy/mode/standalone/global.yaml index 6cbc30c11cec3..a54e1c478608a 100644 --- a/test/e2e/sql/src/test/resources/env/scenario/tbl/proxy/mode/standalone/global.yaml +++ b/test/e2e/sql/src/test/resources/env/scenario/tbl/proxy/mode/standalone/global.yaml @@ -19,6 +19,7 @@ authority: users: - user: proxy password: Proxy@123 + admin: true privilege: type: ALL_PERMITTED diff --git a/test/native/src/test/resources/test-native/yaml/proxy/databases/mysql/global.yaml b/test/native/src/test/resources/test-native/yaml/proxy/databases/mysql/global.yaml index 28b6e40b4da2c..b7db0469c7fbe 100644 --- a/test/native/src/test/resources/test-native/yaml/proxy/databases/mysql/global.yaml +++ b/test/native/src/test/resources/test-native/yaml/proxy/databases/mysql/global.yaml @@ -19,6 +19,7 @@ authority: users: - user: root@% password: root + admin: true privilege: type: ALL_PERMITTED props: diff --git a/test/native/src/test/resources/test-native/yaml/proxy/databases/postgresql/global.yaml b/test/native/src/test/resources/test-native/yaml/proxy/databases/postgresql/global.yaml index b64e7dcac9c20..2c6c083ea16c8 100644 --- a/test/native/src/test/resources/test-native/yaml/proxy/databases/postgresql/global.yaml +++ b/test/native/src/test/resources/test-native/yaml/proxy/databases/postgresql/global.yaml @@ -23,6 +23,7 @@ authority: users: - user: root@% password: root + admin: true privilege: type: ALL_PERMITTED props: diff --git a/test/native/src/test/resources/test-native/yaml/proxy/transactions/base/global.yaml b/test/native/src/test/resources/test-native/yaml/proxy/transactions/base/global.yaml index 8d7217e59a4e7..887b2c59cd7a5 100644 --- a/test/native/src/test/resources/test-native/yaml/proxy/transactions/base/global.yaml +++ b/test/native/src/test/resources/test-native/yaml/proxy/transactions/base/global.yaml @@ -19,6 +19,7 @@ authority: users: - user: root@% password: root + admin: true privilege: type: ALL_PERMITTED transaction: