You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2023/10/09 14:35:56 UTC
[superset] 01/02: fix: tags permissions error message (#25516)
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 <kh...@gmail.com>
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;
};