From 126cf71a48dd8fc38b15e86e4617430f94ccaa07 Mon Sep 17 00:00:00 2001 From: smallchill Date: Sat, 30 May 2020 00:52:37 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E5=A2=9E=E5=BC=BAsecure=E5=AE=89?= =?UTF-8?q?=E5=85=A8=E6=A1=86=E6=9E=B6=EF=BC=8C=E6=94=AF=E6=8C=81=E9=85=8D?= =?UTF-8?q?=E7=BD=AE=E8=AF=B7=E6=B1=82=E6=96=B9=E6=B3=95=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E3=80=81=E8=AF=B7=E6=B1=82=E8=B7=AF=E5=BE=84=E3=80=81=E8=AF=B7?= =?UTF-8?q?=E6=B1=82=E8=A1=A8=E8=BE=BE=E5=BC=8F=E5=8C=B9=E9=85=8D=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- doc/nacos/blade.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/nacos/blade.yaml b/doc/nacos/blade.yaml index b189edf7..adb0f02e 100644 --- a/doc/nacos/blade.yaml +++ b/doc/nacos/blade.yaml @@ -91,6 +91,13 @@ blade: secure: skip-url: - /test/** + auth: + - method: ALL + pattern: /weixin/** + expression: "hasAuth()" + - method: POST + pattern: /dashboard/submit + expression: "hasAnyRole('administrator', 'admin', 'user')" client: - client-id: sword path-patterns: