Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Change from GitLab system OAuth application to the official GitLab instance-wide OAuth application

天舟0b4d3a714f88
diff --git a/frontend/src/components/VCSProviderOAuthPanel.vue b/frontend/src/components/VCSProviderOAuthPanel.vue
index e0b0ee991c..7e93967752 100644
--- a/frontend/src/components/VCSProviderOAuthPanel.vue
+++ b/frontend/src/components/VCSProviderOAuthPanel.vue
@@ -2,7 +2,7 @@
<div class="space-y-4">
<div class="textlabel">
<template v-if="config.type == 'GITLAB_SELF_HOST'">
- Register Bytebase as a GitLab system OAuth application.
+ Register Bytebase as a GitLab instance-wide OAuth application.
</template>
</div>
<ol class="textinfolabel space-y-2">
diff --git a/frontend/src/components/VCSSetupWizard.vue b/frontend/src/components/VCSSetupWizard.vue
index 97e0dbe4d2..96c0a2c4d4 100644
--- a/frontend/src/components/VCSSetupWizard.vue
+++ b/frontend/src/components/VCSSetupWizard.vue
@@ -132,7 +132,7 @@ export default {
const attentionText = computed((): string => {
if (state.config.type == "GITLAB_SELF_HOST") {
- return "You need to be an Admin of your chosen GitLab instance to configure this. Otherwise, you need to ask your GitLab instance Admin to register Bytebase as a system OAuth application in GitLab, then provide you that Application ID and Secret to fill at the 'OAuth application info' step.";
+ return "You need to be an Admin of your chosen GitLab instance to configure this. Otherwise, you need to ask your GitLab instance Admin to register Bytebase as a GitLab instance-wide OAuth application, then provide you that Application ID and Secret to fill at the 'OAuth application info' step.";
}
return "";
});
diff --git a/frontend/src/views/SettingWorkspaceVCSDetail.vue b/frontend/src/views/SettingWorkspaceVCSDetail.vue
index a222dbd78c..9773b0ce2f 100644
--- a/frontend/src/views/SettingWorkspaceVCSDetail.vue
+++ b/frontend/src/views/SettingWorkspaceVCSDetail.vue
@@ -48,7 +48,8 @@
<label for="applicationid" class="textlabel"> Application ID </label>
<p class="mt-1 textinfolabel">
<template v-if="vcs.type == 'GITLAB_SELF_HOST'">
- Application ID for the registered GitLab system OAuth application.
+ Application ID for the registered GitLab instance-wide OAuth
+ application.
<a :href="adminApplicationURL" target="_blank" class="normal-link"
>View in GitLab</a
>
@@ -67,7 +68,7 @@
<label for="secret" class="textlabel"> Secret </label>
<p class="mt-1 textinfolabel">
<template v-if="vcs.type == 'GITLAB_SELF_HOST'">
- Secret for the registered GitLab system OAuth application.
+ Secret for the registered GitLab instance-wide OAuth application.
</template>
</p>
<input