Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Hide config instance button if current user is developer
天舟6affca0cb059
diff --git a/frontend/src/components/DatabaseOverviewPanel.vue b/frontend/src/components/DatabaseOverviewPanel.vueindex b6b75fc0b2..b40f3940fa 100644--- a/frontend/src/components/DatabaseOverviewPanel.vue+++ b/frontend/src/components/DatabaseOverviewPanel.vue@@ -69,7 +69,7 @@<BBAttentionv-else:title="attentionTitle"- :actionText="'Config instance'"+ :actionText="allowConfigInstance ? 'Config instance' : ''"@click-action="configInstance"/></div>@@ -284,6 +284,10 @@ export default {return isDBAOrOwner(currentUser.value.role);});+ const allowConfigInstance = computed(() => {+ return isCurrentUserDBAOrOwner.value;+ });+const allowViewDataSource = computed(() => {if (isCurrentUserDBAOrOwner.value) {return true;@@ -368,6 +372,7 @@ export default {attentionTitle,migrationHistorySectionList,hasDataSourceFeature,+ allowConfigInstance,allowViewDataSource,allowChangeDataSource,readWriteDataSourceList,