You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by sf...@apache.org on 2023/10/04 20:31:03 UTC

[superset] branch master updated: fix: tags permissions error message (#25516)

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

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


The following commit(s) were added to refs/heads/master by this push:
     new 50b0816e37 fix: tags permissions error message (#25516)
50b0816e37 is described below

commit 50b0816e375123f3609f80f7e13555665cba7a69
Author: Igor Khrol <kh...@gmail.com>
AuthorDate: Wed Oct 4 23:30:56 2023 +0300

    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 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;
   };