From 1c4a98a77441b386390a0b2e6759e1397bac28cc Mon Sep 17 00:00:00 2001 From: nannan00 <17491932+nannan00@users.noreply.github.com> Date: Tue, 10 Aug 2021 16:25:27 +0800 Subject: [PATCH 01/33] update readme and some annotation (#3) * update readme and some annotation --- docs/ISSUE_TEMPLATE.md | 2 +- frontend/build/dev-server.js | 2 +- frontend/build/paas-server.js | 2 +- readme.md | 2 +- readme_en.md | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/ISSUE_TEMPLATE.md b/docs/ISSUE_TEMPLATE.md index 981d0cec2..7ba6cf1bd 100644 --- a/docs/ISSUE_TEMPLATE.md +++ b/docs/ISSUE_TEMPLATE.md @@ -21,7 +21,7 @@ If this is a FEATURE REQUEST, please: **是`BUG反馈`还是`需求提交`(Is this a BUG REPORT or FEATURE REQUEST)?** (choose one): -**bk-iam-app SaaS/bk-iam后台版本(The versions used):** +**bk-iam-saas SaaS版本/bk-iam后台版本(The versions used):** **发生了什么(What happened):** diff --git a/frontend/build/dev-server.js b/frontend/build/dev-server.js index 57d28f9b8..d266ce9b0 100644 --- a/frontend/build/dev-server.js +++ b/frontend/build/dev-server.js @@ -76,7 +76,7 @@ app.use(history({ rewrites: [ { // connect-history-api-fallback 默认会对 url 中有 . 的 url 当成静态资源处理而不是当成页面地址来处理 - // 兼容 /router/10.121.23.12 这样以 IP 结尾的 url + // 兼容 /router/127.0.0.1 这样以 IP 结尾的 url from: /(\d+\.)*\d+$/, to: '/' }, diff --git a/frontend/build/paas-server.js b/frontend/build/paas-server.js index e041b2251..28eb1cc8c 100644 --- a/frontend/build/paas-server.js +++ b/frontend/build/paas-server.js @@ -69,7 +69,7 @@ app.use(history({ rewrites: [ { // connect-history-api-fallback 默认会对 url 中有 . 的 url 当成静态资源处理而不是当成页面地址来处理 - // 兼容 /cs/28aa9eda67644a6eb254d694d944307e/cluster/BCS-MESOS-10001/node/10.121.23.12 这样以 IP 结尾的 url + // 兼容 /cs/28aa9eda67644a6eb254d694d944307e/cluster/BCS-MESOS-10001/node/127.0.0.1 这样以 IP 结尾的 url // from: /\d+\.\d+\.\d+\.\d+$/, from: /\/(\d+\.)*\d+$/, to: '/' diff --git a/readme.md b/readme.md index 93502307a..1c149e1c7 100644 --- a/readme.md +++ b/readme.md @@ -7,7 +7,7 @@ ## Overview -蓝鲸权限中心 SaaS(bk-iam-app)对接[蓝鲸权限中心后台](https://github.com/TencentBlueKing/bk-iam), 为蓝鲸智云提供了统一的权限管控服务,支持细粒度的权限管理。 +蓝鲸权限中心 SaaS(bk-iam-saas)对接[蓝鲸权限中心后台](https://github.com/TencentBlueKing/bk-iam), 为蓝鲸智云提供了统一的权限管控服务,支持细粒度的权限管理。 - [架构设计](./docs/overview/architecture.md) - [代码目录](./docs/overview/project_codes.md) diff --git a/readme_en.md b/readme_en.md index 03b3e2954..f19af1b31 100644 --- a/readme_en.md +++ b/readme_en.md @@ -5,7 +5,7 @@ ## Overview -BK-IAM SaaS (bk-iam-app) is docked to [BK-IAM](https://github.com/TencentBlueKing/bk-iam), which provides a unified permission control service for BlueKing and supports fine-grained permission management. +BK-IAM SaaS (bk-iam-saas) is docked to [BK-IAM](https://github.com/TencentBlueKing/bk-iam), which provides a unified permission control service for BlueKing and supports fine-grained permission management. - [Architecture(In Chinese)](./docs/overview/architecture.md) - [Code directory(In Chinese)](./docs/overview/project_codes.md) From a06b1bee21fa441badaf6e44bb36c9dbcca43923 Mon Sep 17 00:00:00 2001 From: wklken Date: Tue, 10 Aug 2021 20:05:07 +0800 Subject: [PATCH 02/33] bugfix: modeling migrate fail because the system.clients not required, missing in json --- saas/backend/apps/model_builder/serializers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/saas/backend/apps/model_builder/serializers.py b/saas/backend/apps/model_builder/serializers.py index b1e2f3f46..f9588cc55 100644 --- a/saas/backend/apps/model_builder/serializers.py +++ b/saas/backend/apps/model_builder/serializers.py @@ -96,7 +96,7 @@ class ModelSystemSLZ(serializers.Serializer): description_en = serializers.CharField(label="英文描述(description_en)", required=False) # required=False, 什么都不配置, 注册时会将发起注册的app_code加入 - clients = serializers.CharField(label="合法CLIENTS(clients)", required=False) + clients = serializers.CharField(label="合法CLIENTS(clients)", required=False, default="") provider_config = SystemProviderConfigSLZ(label="回调配置(provider_config)", required=True) From 0f855ebf8c65c72e35c6e58c1cfe3a501c951b5c Mon Sep 17 00:00:00 2001 From: IuzreO <77032081+IuzreO@users.noreply.github.com> Date: Wed, 11 Aug 2021 10:21:17 +0800 Subject: [PATCH 03/33] =?UTF-8?q?=E5=8B=BE=E9=80=89bug=EF=BC=8C=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E7=B1=BB=E5=9E=8B=E4=BF=9D=E5=AD=98=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=20(#4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: v_hexihe(何喜) --- frontend/src/views/system-access/registry/index.vue | 2 +- .../views/system-access/registry/resource-type-sideslider.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/system-access/registry/index.vue b/frontend/src/views/system-access/registry/index.vue index 54f1d8608..b50aef900 100644 --- a/frontend/src/views/system-access/registry/index.vue +++ b/frontend/src/views/system-access/registry/index.vue @@ -75,7 +75,7 @@