From 50b0816e375123f3609f80f7e13555665cba7a69 Mon Sep 17 00:00:00 2001 From: Igor Khrol Date: Wed, 4 Oct 2023 23:30:56 +0300 Subject: [PATCH] fix: tags permissions error message (#25516) --- superset-frontend/src/components/Tags/utils.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/src/components/Tags/utils.tsx b/superset-frontend/src/components/Tags/utils.tsx index 690a9b44066d0..48bd979046d5b 100644 --- a/superset-frontend/src/components/Tags/utils.tsx +++ b/superset-frontend/src/components/Tags/utils.tsx @@ -66,7 +66,7 @@ export const loadTags = async ( const getErrorMessage = ({ error, message }: ClientErrorObject) => { let errorText = message || error || t('An error has occurred'); if (message === 'Forbidden') { - errorText = t('You do not have permission to edit this dashboard'); + errorText = t('You do not have permission to read tags'); } return errorText; };