Duplicate can_import permission on ImportExportRestApi
Bug description
I noticed that in Apache Superset, the permission "can import on ImportExportRestApi" appears twice. This seems redundant and could cause confusion when managing roles and permissions.
- Go to "settings"
- Go to "list roles"
- Edit a role
- Choose permissions
- You can select "can import on ImportExportRestApi" twice
Screenshots/recordings
No response
Superset version
5.0.0
Python version
I don't know
Node version
I don't know
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.
Can you check to see if this is two different permissions that (unfortunately) have the same label? Or if it's the same permission being added twice somehow? Either way sounds problematic, and we're open to investigation or a PR to resolve it.
This seems like something that might be subject to the SIP for a revised security model that @mistercrunch was looking at.
I have this same issue. Following.