From 126eaabea5edf8df4ed0dfb9c7af4ea246a5628a Mon Sep 17 00:00:00 2001 From: Derick Montague Date: Mon, 23 Dec 2019 13:33:52 -0600 Subject: Add interceptor for 403 response This is a simple solution that is in parity with the current BMC functionality. Once we have mapped permissions, we can create a more elegant solution. Signed-off-by: Derick Montague Change-Id: Id3ea36ba812462be04a450f84f98d0237d6c7c3d --- src/router/index.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/router') diff --git a/src/router/index.js b/src/router/index.js index cbebca70..61cb9023 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -28,6 +28,14 @@ const routes = [ meta: { title: 'Local user management' } + }, + { + path: '/unauthorized', + name: 'unauthorized', + component: () => import('@/views/Unauthorized'), + meta: { + title: 'Unauthorized' + } } ] }, -- cgit v1.2.3