joezeon opened a new issue, #29777: URL: https://github.com/apache/superset/issues/29777
### Bug description Essentially when re-importing chart (owned by Superset Admin) as gamma role user, gamma user can take complete ownership of the admin owned chart. Seems like a bug because it doesnt allow gamma user to change ownership in Edit properties for the admin chart. Explained the steps to reproduce below. ### How to reproduce the bug 1. Following charts show when a Gamma role user is logged in. Some are owned by Superset Admin identified by ADMIN.CHART and some owned by the Gamma user.  2. Logged in as a Gamma user (Gamma role assigned). ADMIN.CHART2 is owned by Superset Admin. If I try to change the ownership and add Gamma User to it, it throws error.  3. Take export of ADMIN.CHART2. Import it back in. Overwrite to Confirm. Notice ownership now shows both Superset Admin and Gamma User.  4. Furthermore, I can now remove Superset Admin as the owner and also add other Gamma users as owners. Shows undefined at first and when refreshed show ownership has changed.   ### Screenshots/recordings _No response_ ### Superset version 4.0.2 ### Python version 3.9 ### 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. - [ ] 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: [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]
