Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 云 API 权限:创建新令牌提供使用指引 #1628

Merged
merged 1 commit into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions webfe/package_vue/src/language/lang/en.js
Original file line number Diff line number Diff line change
Expand Up @@ -2832,4 +2832,5 @@ export default {
蓝鲸监控仪表盘: 'BlueKing Monitoring Dashboard',
采集: 'Collection',
参数: 'Parameter',
使用指引: 'Usage guide',
};
1 change: 1 addition & 0 deletions webfe/package_vue/src/language/lang/zh.js
Original file line number Diff line number Diff line change
Expand Up @@ -2969,4 +2969,5 @@ export default {
蓝鲸监控仪表盘: '蓝鲸监控仪表盘',
采集: '采集',
参数: '参数',
使用指引: '使用指引',
};
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
v-model="createTokenCofig.visible"
theme="primary"
:mask-close="false"
width="640"
width="680"
@after-leave="handleCancel"
>
<div class="header-wrapper" slot="header">
Expand All @@ -109,6 +109,12 @@
<div slot="title" class="alert-wrapper">
<i class="paasng-icon paasng-remind error" />
{{ $t('创建新令牌( access_token),会导致原来的 access_token 会失效,该操作不可撤销,请谨慎操作。') }}
<a
target="_blank"
:href="GLOBAL.DOC.ACCESS_TOKEN_USAGE_GUIDE"
>
{{ $t('使用指引') }}
</a>
</div>
</bk-alert>
<div class="content">
Expand Down
5 changes: 4 additions & 1 deletion webfe/package_vue/static/json/paas_static.ce.js
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,10 @@ export const PLATFORM_CONFIG = {
DEPLOYMENT_MAINTENANCE: BK_DOCS_URL_PREFIX + '/markdown/ZH/DeploymentGuides/7.1/index.md',

// 插件-工具框架
PLUGIN_TOOL_FRAMEWORK: DOCS_URL_PREFIX + '/p/80458883'
PLUGIN_TOOL_FRAMEWORK: DOCS_URL_PREFIX + '/p/80458883',

// 令牌使用指引
ACCESS_TOKEN_USAGE_GUIDE: DOCS_URL_PREFIX + '/topics/paas/access_token'
},

CONFIG: {
Expand Down
5 changes: 4 additions & 1 deletion webfe/package_vue/static/json/paas_static.ee.js
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,10 @@ export const PLATFORM_CONFIG = {
DEPLOYMENT_MAINTENANCE: BK_DOCS_URL_PREFIX + '/markdown/ZH/DeploymentGuides/7.1/index.md',

// 插件-工具框架
PLUGIN_TOOL_FRAMEWORK: DOCS_URL_PREFIX + '/p/80458883'
PLUGIN_TOOL_FRAMEWORK: DOCS_URL_PREFIX + '/p/80458883',

// 令牌使用指引
ACCESS_TOKEN_USAGE_GUIDE: DOCS_URL_PREFIX + '/topics/paas/access_token'
},

CONFIG: {
Expand Down