Skip to content

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

chore: allow reset scim sync token (#13643)

ecmadaof28f38f1ceae
diff --git a/backend/api/v1/setting_service.go b/backend/api/v1/setting_service.go
index 8e46368d70..d0b76be0ff 100644
--- a/backend/api/v1/setting_service.go
+++ b/backend/api/v1/setting_service.go
@@ -610,6 +610,18 @@ func (s *SettingService) UpdateSetting(ctx context.Context, request *v1pb.Update
return nil, status.Errorf(codes.Internal, "failed to marshal setting for %s with error: %v", apiSettingName, err)
}
storeSettingValue = string(bytes)
+ case api.SettingSCIM:
+ scimToken, err := common.RandomString(32)
+ if err != nil {
+ return nil, status.Errorf(codes.Internal, "failed to generate random SCIM secret with error: %v", err)
+ }
+ bytes, err := protojson.Marshal(&storepb.SCIMSetting{
+ Token: scimToken,
+ })
+ if err != nil {
+ return nil, status.Errorf(codes.Internal, "failed to marshal SCIM setting with error: %v", err)
+ }
+ storeSettingValue = string(bytes)
default:
storeSettingValue = request.Setting.Value.GetStringValue()
}
diff --git a/frontend/src/components/User/Settings/AADSyncDrawer.vue b/frontend/src/components/User/Settings/AADSyncDrawer.vue
index 943c09c7d5..2d3a996c87 100644
--- a/frontend/src/components/User/Settings/AADSyncDrawer.vue
+++ b/frontend/src/components/User/Settings/AADSyncDrawer.vue
@@ -52,7 +52,7 @@
:disabled="!scimUrl"
@click="handleCopyUrl(scimUrlFieldRef)"
>
- <heroicons-outline:clipboard-document class="w-4 h-4" />
+ <ClipboardIcon class="w-4 h-4" />
</NButton>
</div>
</div>
@@ -63,7 +63,7 @@
{{ $t(`settings.members.aad-sync.token`) }}
</div>
<div class="text-sm text-gray-400">
- {{ $t(`settings.members.aad-sync.token-tip`) }}
+ {{ $t("settings.members.aad-sync.token-tip") }}
</div>
</div>
<div class="flex space-x-2">
@@ -80,9 +80,21 @@
:disabled="!scimToken"
@click="handleCopyUrl(scimTokenFieldRef)"
>
- <heroicons-outline:clipboard-document class="w-4 h-4" />
+ <ClipboardIcon class="w-4 h-4" />
</NButton>
</div>
+ <NButton
+ v-if="hasPermission"
+ tertiary
+ :type="'warning'"
+ :size="'small'"
+ @click="resetToken"
+ >
+ <template #icon>
+ <ReplyIcon class="w-4" />
+ </template>
+ {{ $t("settings.members.aad-sync.reset-token") }}
+ </NButton>
</div>
</div>
</template>
@@ -99,7 +111,8 @@
<script setup lang="ts">
import { useClipboard } from "@vueuse/core";
-import { NButton, NInput } from "naive-ui";
+import { ClipboardIcon, ReplyIcon } from "lucide-vue-next";
+import { NButton, NInput, useDialog } from "naive-ui";
import { computed, ref } from "vue";
import { useI18n } from "vue-i18n";
import { useRouter } from "vue-router";
@@ -108,6 +121,7 @@ import LearnMoreLink from "@/components/LearnMoreLink.vue";
import { Drawer, DrawerContent } from "@/components/v2";
import { SETTING_ROUTE_WORKSPACE_GENERAL } from "@/router/dashboard/workspaceSetting";
import { pushNotification, useSettingV1Store } from "@/store";
+import { hasWorkspacePermissionV2 } from "@/utils";
defineProps<{
show: boolean;
@@ -122,6 +136,11 @@ const { t } = useI18n();
const router = useRouter();
const scimUrlFieldRef = ref<HTMLInputElement | null>(null);
const scimTokenFieldRef = ref<HTMLInputElement | null>(null);
+const $dialog = useDialog();
+
+const hasPermission = computed(() =>
+ hasWorkspacePermissionV2("bb.settings.set")
+);
const workspaceId = computed(() => {
return (
@@ -172,4 +191,38 @@ const configureSetting = () => {
name: SETTING_ROUTE_WORKSPACE_GENERAL,
});
};
+
+const resetToken = () => {
+ $dialog.warning({
+ title: t("common.warning"),
+ style: "z-index: 100000",
+ content: () => {
+ return t("settings.members.aad-sync.reset-token-warning");
+ },
+ negativeText: t("common.cancel"),
+ positiveText: t("common.continue-anyway"),
+ closeOnEsc: true,
+ maskClosable: true,
+ onPositiveClick: () => {
+ settingV1Store
+ .upsertSetting({
+ name: "bb.workspace.scim",
+ value: {
+ scimSetting: {
+ token: "",
+ },
+ },
+ })
+ .then(() => {
+ pushNotification({
+ module: "bytebase",
+ style: "SUCCESS",
+ title: t("common.updated"),
+ });
+
+ handleCopyUrl(scimTokenFieldRef.value);
+ });
+ },
+ });
+};
</script>
diff --git a/frontend/src/components/User/Settings/UserDataTable/cells/UserNameCell.vue b/frontend/src/components/User/Settings/UserDataTable/cells/UserNameCell.vue
index 0ed8de46fd..259325e0d6 100644
--- a/frontend/src/components/User/Settings/UserDataTable/cells/UserNameCell.vue
+++ b/frontend/src/components/User/Settings/UserDataTable/cells/UserNameCell.vue
@@ -45,7 +45,7 @@
@click.prevent="() => copyServiceKey(user.serviceKey)"
>
<template #icon>
- <heroicons-outline:clipboard class="w-4 h-4" />
+ <ClipboardIcon class="w-4 h-4" />
</template>
{{ $t("settings.members.copy-service-key") }}
</NButton>
@@ -56,7 +56,7 @@
@click.prevent="$emit('reset-service-key', user)"
>
<template #icon>
- <heroicons-outline:reply class="w-4 h-4" />
+ <ReplyIcon class="w-4 h-4" />
</template>
{{ $t("settings.members.reset-service-key") }}
</NButton>
@@ -66,6 +66,7 @@
</template>
<script lang="ts" setup>
+import { ClipboardIcon, ReplyIcon } from "lucide-vue-next";
import { NButton } from "naive-ui";
import { computed } from "vue";
import { useI18n } from "vue-i18n";
diff --git a/frontend/src/locales/en-US.json b/frontend/src/locales/en-US.json
index 6d31cc4925..b5e1f24e30 100644
--- a/frontend/src/locales/en-US.json
+++ b/frontend/src/locales/en-US.json
@@ -572,7 +572,9 @@
"endpoint": "Endpoint",
"endpoint-tip": "Provide the URL to the Azure as tenant URL, it will sync users and groups via webhook.",
"token": "Token",
- "token-tip": "Entra ID sync token. Please keep it in secret."
+ "token-tip": "Entra ID sync token. Please keep it in secret.",
+ "reset-token": "Reset token",
+ "reset-token-warning": "You need to update the Azure application provisioning config."
},
"update-user": "Update user",
"workspace-role-at-least-one": "At least one workspace role is required",
diff --git a/frontend/src/locales/es-ES.json b/frontend/src/locales/es-ES.json
index 75d2216505..09d8b7ecab 100644
--- a/frontend/src/locales/es-ES.json
+++ b/frontend/src/locales/es-ES.json
@@ -572,7 +572,9 @@
"endpoint": "Punto final",
"endpoint-tip": "Proporcione la URL a Azure como URL de inquilino y sincronizará usuarios y grupos a través de webhook.",
"token": "Simbólico",
- "token-tip": "Token de sincronización de ID de entrada. Manténgalo en secreto."
+ "token-tip": "Token de sincronización de ID de entrada. Manténgalo en secreto.",
+ "reset-token": "Restablecer token",
+ "reset-token-warning": "Debe actualizar la configuración de aprovisionamiento de aplicaciones de Azure."
},
"update-user": "Actualizar usuario",
"workspace-role-at-least-one": "El espacio de trabajo debe tener al menos un administrador",
diff --git a/frontend/src/locales/ja-JP.json b/frontend/src/locales/ja-JP.json
index b170d88955..0545262331 100644
--- a/frontend/src/locales/ja-JP.json
+++ b/frontend/src/locales/ja-JP.json
@@ -572,7 +572,9 @@
"endpoint": "API URL",
"endpoint-tip": "この URL を Azure に提供すると、Webhook 経由でユーザーとグループが同期されます。",
"token": "鍵",
- "token-tip": "Entra ID同期キーは公開しないでください。"
+ "token-tip": "Entra ID同期キーは公開しないでください。",
+ "reset-token": "トークンをリセット",
+ "reset-token-warning": "Azure アプリケーションのプロビジョニング構成を更新する必要があります。"
},
"update-user": "ユーザーを更新",
"workspace-role-at-least-one": "少なくとも 1 つのワークスペースレベルの役割を選択してください",
diff --git a/frontend/src/locales/zh-CN.json b/frontend/src/locales/zh-CN.json
index 4c11ba8b71..008dcca664 100644
--- a/frontend/src/locales/zh-CN.json
+++ b/frontend/src/locales/zh-CN.json
@@ -572,7 +572,9 @@
"endpoint": "API URL",
"endpoint-tip": "将该 URL 提供给 Azure,它将通过 webhook 来同步用户和组。",
"token": "密钥",
- "token-tip": "Entra ID 同步密钥,请勿泄漏。"
+ "token-tip": "Entra ID 同步密钥,请勿泄漏。",
+ "reset-token": "重置密钥",
+ "reset-token-warning": "您需要更新 Azure 应用程序配置。"
},
"update-user": "更新用户",
"workspace-role-at-least-one": "至少选择一个工作空间级别的角色",
diff --git a/frontend/src/views/SettingWorkspaceUsers.vue b/frontend/src/views/SettingWorkspaceUsers.vue
index 837396afc2..f83cf1241f 100644
--- a/frontend/src/views/SettingWorkspaceUsers.vue
+++ b/frontend/src/views/SettingWorkspaceUsers.vue
@@ -51,7 +51,7 @@
<SearchBox v-model:value="state.activeUserFilterText" />
<NButton
- v-if="isDev()"
+ v-if="isDev() && allowGetSCIMSetting"
class="capitalize"
@click="state.showAadSyncDrawer = true"
>
@@ -246,6 +246,10 @@ const workspaceProfileSetting = computed(() =>
)
);
+const allowGetSCIMSetting = computed(() =>
+ hasWorkspacePermissionV2("bb.settings.get")
+);
+
const allowCreateGroup = computed(() =>
hasWorkspacePermissionV2("bb.groups.create")
);
diff --git a/proto/gen/grpc-doc/openapi.yaml b/proto/gen/grpc-doc/openapi.yaml
index 54e0d48309..b0523fa530 100644
--- a/proto/gen/grpc-doc/openapi.yaml
+++ b/proto/gen/grpc-doc/openapi.yaml
@@ -12067,7 +12067,6 @@ components:
type: object
properties:
token:
- readOnly: true
type: string
SMTPMailDeliverySettingValue:
type: object
diff --git a/proto/generated-go/v1/setting_service.pb.go b/proto/generated-go/v1/setting_service.pb.go
index 9156ea1812..b2d1f8f856 100644
--- a/proto/generated-go/v1/setting_service.pb.go
+++ b/proto/generated-go/v1/setting_service.pb.go
@@ -3650,44 +3650,43 @@ var file_v1_setting_service_proto_rawDesc = []byte{
0x22, 0x33, 0x0a, 0x1b, 0x4d, 0x61, 0x78, 0x69, 0x6d, 0x75, 0x6d, 0x53, 0x51, 0x4c, 0x52, 0x65,
0x73, 0x75, 0x6c, 0x74, 0x53, 0x69, 0x7a, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12,
0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05,
- 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x29, 0x0a, 0x0b, 0x53, 0x43, 0x49, 0x4d, 0x53, 0x65, 0x74,
- 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1a, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20,
- 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e,
- 0x2a, 0x54, 0x0a, 0x12, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x68, 0x61, 0x6e,
- 0x67, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x20, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41,
- 0x53, 0x45, 0x5f, 0x43, 0x48, 0x41, 0x4e, 0x47, 0x45, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55,
- 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08,
- 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x44,
- 0x49, 0x54, 0x4f, 0x52, 0x10, 0x02, 0x32, 0xae, 0x03, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x74, 0x69,
- 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x0c, 0x4c, 0x69,
- 0x73, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74,
- 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74,
- 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62,
- 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53,
- 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22,
- 0x2f, 0xda, 0x41, 0x00, 0x8a, 0xea, 0x30, 0x10, 0x62, 0x62, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69,
- 0x6e, 0x67, 0x73, 0x2e, 0x6c, 0x69, 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93,
- 0x02, 0x0e, 0x12, 0x0c, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
- 0x12, 0x7f, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1e,
- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74,
- 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14,
- 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74,
- 0x74, 0x69, 0x6e, 0x67, 0x22, 0x3b, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30,
- 0x0f, 0x62, 0x62, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x67, 0x65, 0x74,
- 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x76, 0x31, 0x2f,
- 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x2a,
- 0x7d, 0x12, 0x93, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74,
- 0x69, 0x6e, 0x67, 0x12, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76,
- 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52,
- 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
- 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x49, 0x8a, 0xea,
- 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x73, 0x65,
- 0x74, 0x90, 0xea, 0x30, 0x01, 0x98, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x3a,
- 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x32, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73,
- 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x65, 0x74, 0x74,
- 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72,
- 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67, 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
- 0x6f, 0x33,
+ 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x23, 0x0a, 0x0b, 0x53, 0x43, 0x49, 0x4d, 0x53, 0x65, 0x74,
+ 0x74, 0x69, 0x6e, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20,
+ 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x2a, 0x54, 0x0a, 0x12, 0x44, 0x61,
+ 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x4d, 0x6f, 0x64, 0x65,
+ 0x12, 0x24, 0x0a, 0x20, 0x44, 0x41, 0x54, 0x41, 0x42, 0x41, 0x53, 0x45, 0x5f, 0x43, 0x48, 0x41,
+ 0x4e, 0x47, 0x45, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
+ 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x50, 0x49, 0x50, 0x45, 0x4c, 0x49,
+ 0x4e, 0x45, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x45, 0x44, 0x49, 0x54, 0x4f, 0x52, 0x10, 0x02,
+ 0x32, 0xae, 0x03, 0x0a, 0x0e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x65, 0x72, 0x76,
+ 0x69, 0x63, 0x65, 0x12, 0x84, 0x01, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74, 0x74,
+ 0x69, 0x6e, 0x67, 0x73, 0x12, 0x20, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e,
+ 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x52,
+ 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73,
+ 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
+ 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0xda, 0x41, 0x00, 0x8a, 0xea,
+ 0x30, 0x10, 0x62, 0x62, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x6c, 0x69,
+ 0x73, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0e, 0x12, 0x0c, 0x2f, 0x76,
+ 0x31, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x7f, 0x0a, 0x0a, 0x47, 0x65,
+ 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x1e, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e,
+ 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62,
+ 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x3b,
+ 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x73, 0x65,
+ 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x67, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x82, 0xd3,
+ 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
+ 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x93, 0x01, 0x0a, 0x0d,
+ 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x21, 0x2e,
+ 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61,
+ 0x74, 0x65, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
+ 0x1a, 0x14, 0x2e, 0x62, 0x79, 0x74, 0x65, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53,
+ 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x49, 0x8a, 0xea, 0x30, 0x0f, 0x62, 0x62, 0x2e, 0x73,
+ 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x73, 0x65, 0x74, 0x90, 0xea, 0x30, 0x01, 0x98,
+ 0xea, 0x30, 0x01, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28, 0x3a, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69,
+ 0x6e, 0x67, 0x32, 0x1d, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
+ 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x2a,
+ 0x7d, 0x42, 0x11, 0x5a, 0x0f, 0x67, 0x65, 0x6e, 0x65, 0x72, 0x61, 0x74, 0x65, 0x64, 0x2d, 0x67,
+ 0x6f, 0x2f, 0x76, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
diff --git a/proto/v1/setting_service.proto b/proto/v1/setting_service.proto
index 4f7e6318f5..65714683c1 100644
--- a/proto/v1/setting_service.proto
+++ b/proto/v1/setting_service.proto
@@ -482,5 +482,5 @@ message MaximumSQLResultSizeSetting {
}
message SCIMSetting {
- string token = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
+ string token = 1;
}