rusackas opened a new pull request, #43389: URL: https://github.com/apache/superset/pull/43389
### SUMMARY - The semantic-layer detail/runtime-schema/views endpoints now check per-object access before returning a layer's configuration, matching the pattern already used elsewhere in the module. - Semantic-layer/view update and delete commands now require editorship, matching their sibling commands. - Theme writes now require the Alpha role rather than the default Gamma grant, matching how `CssTemplate` is already treated. - Updating or importing a theme that's currently in the active system-default/system-dark slot now requires admin, matching the existing delete-time check. - The SVG sanitizer's script-tag stripping regex now handles closing tags with attributes/whitespace and cleans up any leftover open/close fragments. ### TESTING INSTRUCTIONS `pytest tests/unit_tests/semantic_layers/ tests/unit_tests/commands/semantic_layer/ tests/unit_tests/themes/ tests/unit_tests/commands/theme/ tests/unit_tests/utils/test_core.py` — new/extended tests per change, each verified to fail pre-fix and pass post-fix. ### ADDITIONAL INFORMATION - [ ] Has associated issue: - [ ] Required feature flags: - [ ] Changes UI - [ ] Includes DB Migration - [ ] 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]
