Artem-fb opened a new issue #15855:
URL: https://github.com/apache/superset/issues/15855


   There is no permission in roles which can hide button "EXPORT" Dashboard
   
   ### Expected results
   
   should be permission for "export" dashboard button 
   
   ### Actual results
   
   there is no permission for "export" dashboard button  
   now permission "can read on dashboard" makes it possible to export Dashboard 
to json
   
   #### Screenshots
   http://prntscr.com/1en2xm0
   http://prntscr.com/1en4qbx
   
   
   #### How to reproduce the bug
   
   1. Go to list roles create new role, add to this role only two permissions: 
"menu access on Dasboard"and "can read on Dashboard" 
   2. Create new user which has only this role
   3. Create some Dashboard and give access for this user 
   4. Logout and Login as this new user
   5. You can export dashboard to json and see sql queries for this dashboard
   
   install 0.37.1 version, no export button will exist in dashboard menu
   install 1.2.0 version this button will appear in dashboard menu
   
   ### Environment
   
   - superset version: 1.2.0
   - python version: 3.8


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to