From fc013825d80d38bee88c81ec19e1f98a2af3fb81 Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Mon, 22 May 2023 11:37:35 +0200 Subject: [PATCH] [v10.0.x] RBAC: Remove legacy AC editor and admin role on new dashboard route (#68777) 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 fd1b47580bb..88dc4645b05 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(