From c95b1d789bce04460df26b6a4886d754602f35bb Mon Sep 17 00:00:00 2001 From: Derek Ho Date: Mon, 5 Feb 2024 09:37:21 -0500 Subject: [PATCH] Change query access messaging (#1224) Signed-off-by: Derek Ho --- .../__tests__/__snapshots__/data_connection.test.tsx.snap | 4 ++-- .../datasources/components/manage/access_control_tab.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/public/components/datasources/components/__tests__/__snapshots__/data_connection.test.tsx.snap b/public/components/datasources/components/__tests__/__snapshots__/data_connection.test.tsx.snap index b3207d530..69dcb5b92 100644 --- a/public/components/datasources/components/__tests__/__snapshots__/data_connection.test.tsx.snap +++ b/public/components/datasources/components/__tests__/__snapshots__/data_connection.test.tsx.snap @@ -352,7 +352,7 @@ exports[`Data Connection Page test Renders Prometheus data connection page with
- Everyone + Admin only
@@ -894,7 +894,7 @@ exports[`Data Connection Page test Renders S3 data connection page with data 1`]
- Everyone + Admin only
diff --git a/public/components/datasources/components/manage/access_control_tab.tsx b/public/components/datasources/components/manage/access_control_tab.tsx index 7ae13c651..aac893d6a 100644 --- a/public/components/datasources/components/manage/access_control_tab.tsx +++ b/public/components/datasources/components/manage/access_control_tab.tsx @@ -64,7 +64,7 @@ export const AccessControlTab = (props: AccessControlTabProps) => { ? `Restricted to ${selectedQueryPermissionRoles .map((role) => role.label) .join(',')}` - : 'Everyone'} + : 'Admin only'}