Skip to content

Commit 50b0816

Browse files
authored
fix: tags permissions error message (#25516)
1 parent 1fb2c62 commit 50b0816

File tree

1 file changed

+1
-1
lines changed
  • superset-frontend/src/components/Tags

1 file changed

+1
-1
lines changed

superset-frontend/src/components/Tags/utils.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export const loadTags = async (
6666
const getErrorMessage = ({ error, message }: ClientErrorObject) => {
6767
let errorText = message || error || t('An error has occurred');
6868
if (message === 'Forbidden') {
69-
errorText = t('You do not have permission to edit this dashboard');
69+
errorText = t('You do not have permission to read tags');
7070
}
7171
return errorText;
7272
};

0 commit comments

Comments
 (0)