Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Only show test connection button for Owner and DBA
天舟318e8e00b190
diff --git a/frontend/src/components/InstanceForm.vue b/frontend/src/components/InstanceForm.vueindex f84e48bd9d..aa2a0910ac 100644--- a/frontend/src/components/InstanceForm.vue+++ b/frontend/src/components/InstanceForm.vue@@ -389,7 +389,11 @@ export default {});const showTestConnection = computed(() => {- return props.create || (state.instance as Instance).rowStatus == "NORMAL";+ return (+ props.create ||+ ((state.instance as Instance).rowStatus == "NORMAL" &&+ isDBAOrOwner(currentUser.value.role))+ );});const valueChanged = computed(() => {