diff --git a/src/commands/configure.rs b/src/commands/configure.rs index 9a8ef7e7..d644112b 100644 --- a/src/commands/configure.rs +++ b/src/commands/configure.rs @@ -158,8 +158,8 @@ pub async fn configure( parameter: S::ApplyAccessPolicies(ConfigStr { value }), }) => set(cli, "apply_access_policies", None, value).await, C::Set(Set { - parameter: S::ApplyAccessPoliciesSQL(ConfigStr { value }), - }) => set(cli, "apply_access_policies_sql", None, value).await, + parameter: S::ApplyAccessPoliciesPG(ConfigStr { value }), + }) => set(cli, "apply_access_policies_pg", None, value).await, C::Set(Set { parameter: S::AllowUserSpecifiedId(ConfigStr { value }), }) => set(cli, "allow_user_specified_id", None, value).await, @@ -229,7 +229,7 @@ pub async fn configure( C::QueryExecutionTimeout => "query_execution_timeout", C::AllowBareDdl => "allow_bare_ddl", C::ApplyAccessPolicies => "apply_access_policies", - C::ApplyAccessPoliciesSQL => "apply_access_policies_sql", + C::ApplyAccessPoliciesPG => "apply_access_policies_pg", C::AllowUserSpecifiedId => "allow_user_specified_id", C::CorsAllowOrigins => "cors_allow_origins", C::AutoRebuildQueryCache => "auto_rebuild_query_cache", diff --git a/src/commands/parser.rs b/src/commands/parser.rs index 26b4acb0..f0449faa 100644 --- a/src/commands/parser.rs +++ b/src/commands/parser.rs @@ -577,7 +577,7 @@ pub enum ValueParameter { /// /// User-specified access policies are not applied when set to `false`, /// allowing any queries to be executed. - ApplyAccessPoliciesSQL(ConfigStr), + ApplyAccessPoliciesPG(ConfigStr), /// Allow setting user-specified object identifiers. AllowUserSpecifiedId(ConfigStr), @@ -648,8 +648,8 @@ pub enum ConfigParameter { AllowBareDdl, /// Reset apply_access_policies parameter to `true` ApplyAccessPolicies, - /// Reset apply_access_policies_sql parameter to `false` - ApplyAccessPoliciesSQL, + /// Reset apply_access_policies_pg parameter to `false` + ApplyAccessPoliciesPG, /// Reset allow_user_specified_id parameter to `false` AllowUserSpecifiedId, /// Reset cors_allow_origins to an empty set