dmunozv04 opened a new pull request, #45031: URL: https://github.com/apache/superset/pull/45031
<!--- Please write the PR title following the conventions at https://www.conventionalcommits.org/en/v1.0.0/ Example: fix(dashboard): load charts correctly --> ### SUMMARY Prototype for the role import/export SIP (#TBD). Currently as a draft. This feature would add a new option in the Security -> List Roles page to allows administrator users without CLI access to import/export roles. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF After screenshots showing the new export/import controls for roles <img width="919" height="845" alt="roles-import" src="https://github.com/user-attachments/assets/b0f16f6e-3f48-4f12-97ad-c32336bf7da7" /> <img width="919" height="786" alt="roles-export" src="https://github.com/user-attachments/assets/6a4ef391-8507-4a11-b8b5-873ef7368a5e" /> <img width="919" height="845" alt="roles-bulk-export" src="https://github.com/user-attachments/assets/e69ee5d4-36b5-4817-bf8a-9aafa643ca46" /> ### TESTING INSTRUCTIONS Create a custom role, assign some permissions to it and export the role. Verify the exported file correctly outlines all the role's permissions. Delete the role and attempt to import it. After a successful import, the role should appear again with the same permissions as the export. ### ADDITIONAL INFORMATION <!--- Check any relevant boxes with "x" --> <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue --> - [ ] Has associated issue: - [ ] Required feature flags: - [X] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [X] Introduces new feature or API - [ ] Removes existing feature or API -- 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]
