adam-stasiak opened a new issue #12494:
URL: https://github.com/apache/superset/issues/12494


   In https://github.com/apache/superset/pull/12491 we are introducing popup 
for forbidden behavior when user tries to modify dataset. We should keep this 
way also for removal of datasets.
   
   ### Expected results
   
   When I try to remove dataset - I can see popup
   ### Actual results
   
   When I try to remove dataset - I see a toast
   
   #### Screenshots
   
![image](https://user-images.githubusercontent.com/25153919/104451626-19bfdf80-55a2-11eb-91e1-be4fbc9f0fb2.png)
   
![image](https://user-images.githubusercontent.com/25153919/104451680-2a705580-55a2-11eb-9551-8d601925a91c.png)
   
   
   #### How to reproduce the bug
   
   Login as admin
   add 2 users with alpha permission
   As user 1 add dataset
   As user 2 try to remove dataset
   
   ### Environment
   
   (please complete the following information):
   
   docker - commit 0ae16bfe49817cdaacb9cbfff322b327f087f901
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included 
it here as text if there are any.
   - [ ] I have reproduced the issue with at least the latest released version 
of superset.
   - [ ] I have checked the issue tracker for the same issue and I haven't 
found one similar.
   
   ### Additional context
   
   


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

Reply via email to