This is an automated email from the ASF dual-hosted git repository.

michaelsmolina pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 8b66603566afe8e850638c1abff6faa7f0268cba
Author: Igor Khrol <[email protected]>
AuthorDate: Wed Oct 4 23:30:56 2023 +0300

    fix: tags permissions error message (#25516)
    
    (cherry picked from commit 50b0816e375123f3609f80f7e13555665cba7a69)
---
 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 690a9b4406..48bd979046 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;
   };

Reply via email to