From 1c1be82eb996aabc3223cb2d5849b69df1f611fa Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Mon, 22 May 2023 11:37:43 +0200 Subject: [PATCH] [v9.4.x] RBAC: Remove legacy AC editor and admin role on new dashboard route (#68775) RBAC: Remove legacy AC editor and admin role on new dashboard route (#68762) remove legacy AC editor and admin role on new dashboard route (cherry picked from commit 94283f50398432f37888e1045a56b593ca56157b) Co-authored-by: Eric Leijonmarck --- 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 72ae8ef1b3c..caafb45203b 100644 --- a/public/app/routes/routes.tsx +++ b/public/app/routes/routes.tsx @@ -76,7 +76,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(