You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by ju...@apache.org on 2020/06/01 07:55:29 UTC
[incubator-apisix-dashboard] branch next updated: feat: update
plugin blacklist
This is an automated email from the ASF dual-hosted git repository.
juzhiyuan pushed a commit to branch next
in repository https://gitbox.apache.org/repos/asf/incubator-apisix-dashboard.git
The following commit(s) were added to refs/heads/next by this push:
new 1ce0f6f feat: update plugin blacklist
1ce0f6f is described below
commit 1ce0f6fa2e6ea8fe0faa87d11e3f9fac2f01fab5
Author: juzhiyuan <jj...@gmail.com>
AuthorDate: Mon Jun 1 15:54:52 2020 +0800
feat: update plugin blacklist
---
src/pages/Routes/Create.tsx | 4 ----
src/pages/Routes/components/CreateStep3/CreateStep3.tsx | 13 ++++++++++++-
2 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/src/pages/Routes/Create.tsx b/src/pages/Routes/Create.tsx
index 7ed184d..ee6559f 100644
--- a/src/pages/Routes/Create.tsx
+++ b/src/pages/Routes/Create.tsx
@@ -25,10 +25,6 @@ const Create: React.FC = () => {
rejected_code: 503,
key: 'remote_addr',
},
- 'basic-auth': {
- username: 'testuser',
- password: 'pass',
- },
},
});
diff --git a/src/pages/Routes/components/CreateStep3/CreateStep3.tsx b/src/pages/Routes/components/CreateStep3/CreateStep3.tsx
index eb9c569..8782c3e 100644
--- a/src/pages/Routes/components/CreateStep3/CreateStep3.tsx
+++ b/src/pages/Routes/components/CreateStep3/CreateStep3.tsx
@@ -18,7 +18,18 @@ const sectionStyle = {
const CreateStep3: React.FC<Props> = ({ data, onChange }) => {
// NOTE: Plugin in blacklist WILL NOT be shown on Step3.
- const pluginBlackList = ['redirect'];
+ const pluginBlackList = [
+ 'basic-auth',
+ 'batch-requests',
+ 'grpc-transcoding',
+ 'http-logger',
+ 'jwt-auth',
+ 'key-auth',
+ 'mqtt-proxy',
+ 'oauth',
+ 'redirect',
+ 'wolf-rbac',
+ ];
const list = pluginList.filter(({ name }) => !pluginBlackList.includes(name));
const [activeList, setActiveList] = useState<PluginForm.PluginProps[]>([]);