Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
Auto generate more readable task name for requesting new db
天舟ac293523a9f3
diff --git a/frontend/src/components/RequestDatabasePrepForm.vue b/frontend/src/components/RequestDatabasePrepForm.vueindex f718a5fa20..d3251fa827 100644--- a/frontend/src/components/RequestDatabasePrepForm.vue+++ b/frontend/src/components/RequestDatabasePrepForm.vue@@ -189,6 +189,10 @@ export default {const request = () => {emit("dismiss");++ const environment = store.getters["environment/environmentById"](+ state.environmentId+ );if (state.create == "ON") {router.push({name: "workspace.task.detail",@@ -197,11 +201,18 @@ export default {},query: {template: "bytebase.database.create",+ name: `[${environment.name}] Request new database '${state.databaseName}'`,environment: state.environmentId,database: state.databaseName,},});} else {+ const database = store.getters["database/databaseById"](+ state.databaseId,+ {+ environmentId: state.environmentId,+ }+ );router.push({name: "workspace.task.detail",params: {@@ -209,6 +220,9 @@ export default {},query: {template: "bytebase.database.grant",+ name: `[${environment.name}] Request database '${database.name}' ${+ state.readOnly ? "Read Only access" : "Read & Write access"+ }`,environment: state.environmentId,database: state.databaseId,readonly: state.readOnly ? "true" : "false",