From 8a183384c1caf4f5afd9d6451b5dc71659268f42 Mon Sep 17 00:00:00 2001 From: smallchill Date: Sun, 7 Jun 2020 18:35:09 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E5=AE=8C=E5=96=84=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/nacos/blade.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/nacos/blade.yaml b/doc/nacos/blade.yaml index adb0f02e..15f7ce10 100644 --- a/doc/nacos/blade.yaml +++ b/doc/nacos/blade.yaml @@ -89,15 +89,21 @@ blade: - /notice/submit #安全框架配置 secure: + #接口放行 skip-url: - /test/** + #授权认证配置 auth: - method: ALL pattern: /weixin/** expression: "hasAuth()" + - method: POST + pattern: /dashboard/upload + expression: "hasTimeAuth(9, 17)" - method: POST pattern: /dashboard/submit expression: "hasAnyRole('administrator', 'admin', 'user')" + #多终端认证配置 client: - client-id: sword path-patterns: @@ -107,8 +113,12 @@ blade: - /saber/** #多租户配置 tenant: + #多租户增强 enhance: true + #多租户授权保护 license: false + #多租户字段名 column: tenant_id + #排除多租户逻辑 exclude-tables: - blade_user