From 94283f50398432f37888e1045a56b593ca56157b Mon Sep 17 00:00:00 2001 From: Eric Leijonmarck Date: Mon, 22 May 2023 10:27:00 +0100 Subject: [PATCH] RBAC: Remove legacy AC editor and admin role on new dashboard route (#68762) remove legacy AC editor and admin role on new dashboard route --- public/app/routes/routes.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/routes/routes.tsx b/public/app/routes/routes.tsx index 34dcf645b79..b683dd16ccb 100644 --- a/public/app/routes/routes.tsx +++ b/public/app/routes/routes.tsx @@ -46,7 +46,7 @@ export function getAppRoutes(): RouteDescriptor[] { }, { path: '/dashboard/new', - roles: () => contextSrv.evaluatePermission(() => ['Editor', 'Admin'], [AccessControlAction.DashboardsCreate]), + roles: () => contextSrv.evaluatePermission(() => [], [AccessControlAction.DashboardsCreate]), pageClass: 'page-dashboard', routeName: DashboardRoutes.New, component: SafeDynamicImport(