duynguyenhoang opened a new issue #13711: URL: https://github.com/apache/superset/issues/13711
### Expected results CSV Export permission must be consistent. When user doesn't have permission "Can CSV on Superset", he/she won't be able to Export CSV. There is no `Export CSV` menu on Dashboard and on Explore page in this case. ### Actual results "Can CSV on Superset" is not assigned to user. From Dashboard, user is unable to Export CSV but in Chart user can. #### Screenshots There is no Export CSV menu in Dashboard screen  There is CSV button and we can Export CSV  #### How to reproduce the bug 1. A user with normal role, can access Chart/Dashboard and Explore page 2. But he/she doesn't have "Can CSV on Superset" permission 2. Go to any Dashboard, there is no "Export CSV" menu in any chart Context menu 3. View chart in Explore 4. On the right top pannel, there is "Export to CSV format" => Which is wrong. ### Environment - superset version: Master, SHA: 2b0b3f2f - python version: Python 3.7.9 - node.js version: v14.16.0 ### Checklist Make sure to follow these steps before submitting your issue - thank you! - [x] I have checked the superset logs for python stacktraces and included it here as text if there are any. - [x] I have reproduced the issue with at least the latest released version of superset. - [x] I have checked the issue tracker for the same issue and I haven't found one similar. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
