From adaa904fb9e0d8b7877179c674e2e7113a397a8d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 31 Oct 2023 21:33:21 +0000 Subject: [PATCH] Update empty allowed roles to admin only (#1217) Signed-off-by: Derek Ho (cherry picked from commit 4c93be76efbc37c61f84ed84420eee9997c01d12) Signed-off-by: github-actions[bot] --- .../datasources/components/new/query_permissions.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/components/datasources/components/new/query_permissions.tsx b/public/components/datasources/components/new/query_permissions.tsx index 1a66ae198..0c0853b57 100644 --- a/public/components/datasources/components/new/query_permissions.tsx +++ b/public/components/datasources/components/new/query_permissions.tsx @@ -30,7 +30,8 @@ export const QueryPermissionsConfiguration = (props: PermissionsConfigurationPro }, { id: QUERY_ALL, - label: 'Everyone - accessible by all users on this cluster', + label: 'Admin only - only accessible by the admin', + disabled: !hasSecurityAccess, }, ];