EddyBess opened a new issue, #27988:
URL: https://github.com/apache/superset/issues/27988

   ### Bug description
   
   When I create a saved query with a non admin user and try to tag it using 
the bulk select option I get the following error : 
   
   **1 items could not be tagged because you don’t have edit permissions to all 
selected objects.**
   
   However I can edit/delete the saved query.
   
   When trying to tag chart or dashboard using the bulk select it is working 
fine.
   
   When trying to tag the query from the Tag object it is working fine.
   
   When using an admin I do not encounter this problem.
   
   Non admin users have the following roles : 
   
   - Gamma
   - Sqllab
   - 3LC_User (Custom role I have created)
   List of permissions in 3LC_User Role : 
   [can read on Dataset, can write on Dataset, can read on Query, can get or 
create dataset on Dataset, can warm up cache on Dataset, can export on Dataset, 
can duplicate on Dataset, can activate on TabStateView, can delete query on 
TabStateView, can migrate query on TabStateView, menu access on Manage]
   
   Am I missing the permission that should allow the tagging on the saved query 
 from bulk select ?
   Any help would be very appreciated ! 
   
   
   
   
   
   ### How to reproduce the bug
   
   With a non admin user
   
   1. Create a saved query
   2. Go to saved query tab
   3. Click bulk select
   4. Select the created query
   5. Click Add Tag
   6. Add any tag 
   
   ### Screenshots/recordings
   
   1 - 
![image](https://github.com/apache/superset/assets/57587025/28251127-0565-4e47-b12d-801299aa2132)
  
   2 - 
![image](https://github.com/apache/superset/assets/57587025/d9fffe57-2ef0-4fb1-8b7f-df9df3d52b7c)
  
   3 - 
![image](https://github.com/apache/superset/assets/57587025/484958c2-8ed4-46ab-b07e-3405d32941d9)
    
   
   
   ### Superset version
   
   4.0.0
   
   ### Python version
   
   3.10
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [X] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [X] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [X] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
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: notifications-unsubscr...@superset.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org
For additional commands, e-mail: notifications-h...@superset.apache.org

Reply via email to