From 6d0e6a22608484c784488e516c49d07b02d6bac0 Mon Sep 17 00:00:00 2001 From: hashishaw Date: Mon, 15 Nov 2021 16:10:21 -0600 Subject: [PATCH 1/2] Hide verify-connection attribute on connection config show page --- ui/app/utils/database-helpers.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ui/app/utils/database-helpers.js b/ui/app/utils/database-helpers.js index 808a3024cc3b..490d7f205e35 100644 --- a/ui/app/utils/database-helpers.js +++ b/ui/app/utils/database-helpers.js @@ -5,7 +5,7 @@ export const AVAILABLE_PLUGIN_TYPES = [ fields: [ { attr: 'plugin_name' }, { attr: 'name' }, - { attr: 'verify_connection' }, + { attr: 'verify_connection', show: false }, { attr: 'password_policy' }, { attr: 'url', group: 'pluginConfig' }, { attr: 'username', group: 'pluginConfig', show: false }, @@ -26,7 +26,7 @@ export const AVAILABLE_PLUGIN_TYPES = [ { attr: 'plugin_name' }, { attr: 'name' }, { attr: 'connection_url' }, - { attr: 'verify_connection' }, + { attr: 'verify_connection', show: false }, { attr: 'password_policy' }, { attr: 'username', group: 'pluginConfig', show: false }, { attr: 'password', group: 'pluginConfig', show: false }, @@ -44,7 +44,7 @@ export const AVAILABLE_PLUGIN_TYPES = [ { attr: 'plugin_name' }, { attr: 'name' }, { attr: 'connection_url' }, - { attr: 'verify_connection' }, + { attr: 'verify_connection', show: false }, { attr: 'password_policy' }, { attr: 'username', group: 'pluginConfig', show: false }, { attr: 'password', group: 'pluginConfig', show: false }, @@ -61,7 +61,7 @@ export const AVAILABLE_PLUGIN_TYPES = [ fields: [ { attr: 'plugin_name' }, { attr: 'name' }, - { attr: 'verify_connection' }, + { attr: 'verify_connection', show: false }, { attr: 'password_policy' }, { attr: 'connection_url', group: 'pluginConfig' }, { attr: 'username', group: 'pluginConfig', show: false }, @@ -81,7 +81,7 @@ export const AVAILABLE_PLUGIN_TYPES = [ fields: [ { attr: 'plugin_name' }, { attr: 'name' }, - { attr: 'verify_connection' }, + { attr: 'verify_connection', show: false }, { attr: 'password_policy' }, { attr: 'connection_url', group: 'pluginConfig' }, { attr: 'username', group: 'pluginConfig', show: false }, @@ -101,7 +101,7 @@ export const AVAILABLE_PLUGIN_TYPES = [ fields: [ { attr: 'plugin_name' }, { attr: 'name' }, - { attr: 'verify_connection' }, + { attr: 'verify_connection', show: false }, { attr: 'password_policy' }, { attr: 'connection_url', group: 'pluginConfig' }, { attr: 'username', group: 'pluginConfig', show: false }, @@ -121,7 +121,7 @@ export const AVAILABLE_PLUGIN_TYPES = [ fields: [ { attr: 'plugin_name' }, { attr: 'name' }, - { attr: 'verify_connection' }, + { attr: 'verify_connection', show: false }, { attr: 'password_policy' }, { attr: 'connection_url', group: 'pluginConfig' }, { attr: 'username', group: 'pluginConfig', show: false }, @@ -141,7 +141,7 @@ export const AVAILABLE_PLUGIN_TYPES = [ fields: [ { attr: 'plugin_name' }, { attr: 'name' }, - { attr: 'verify_connection' }, + { attr: 'verify_connection', show: false }, { attr: 'password_policy' }, { attr: 'connection_url', group: 'pluginConfig' }, { attr: 'username', group: 'pluginConfig', show: false }, @@ -159,7 +159,7 @@ export const AVAILABLE_PLUGIN_TYPES = [ fields: [ { attr: 'plugin_name' }, { attr: 'name' }, - { attr: 'verify_connection' }, + { attr: 'verify_connection', show: false }, { attr: 'password_policy' }, { attr: 'connection_url', group: 'pluginConfig' }, { attr: 'username', group: 'pluginConfig', show: false }, From 657b633548544bc59995b45dee1968310b014c19 Mon Sep 17 00:00:00 2001 From: hashishaw Date: Mon, 15 Nov 2021 16:41:34 -0600 Subject: [PATCH 2/2] Add changelog --- changelog/13152.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 changelog/13152.txt diff --git a/changelog/13152.txt b/changelog/13152.txt new file mode 100644 index 000000000000..88c2f0e2e664 --- /dev/null +++ b/changelog/13152.txt @@ -0,0 +1,3 @@ +```release-note:bug +ui: Do not show verify connection value on database connection config page +``` \ No newline at end of file