xavier-GitHub76 opened a new issue, #29504: URL: https://github.com/apache/superset/issues/29504
### Bug description Hello after upgrade, deprecated permissions are not deleted. It's maybe normal (a downgrade is possible) but how clean deprecated permissions ? ### How to reproduce the bug 'can select star on Superset' is a deprecated permission. I install an old version (1.5.2)  I create a role with 'can select star on Superset' permission  I create an user with the role  I stop my superset (I work with docker compose) I upgrade to 4.0.2 I run superset db upgrade I run superset db init I restart superset The upgrade is done  The role have the deprecated permission  It's possible to create a new role with the deprecated permission  I count the permission in the 'ab_permission' table : - 72 for a version 4.0.2 from scratch - 112 for the version 1.5.2 upgraded to 4.0.2 Best regards ### Screenshots/recordings _No response_ ### Superset version master / latest-dev ### Python version 3.9 ### Node version 16 ### Browser Chrome ### Additional context _No response_ ### Checklist - [ ] I have searched Superset docs and Slack and didn't find a solution to my problem. - [ ] 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]
