You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by vi...@apache.org on 2026/08/25 18:02:53 UTC
(superset) branch gaq-to-gtf updated (1f9bbdf6e21 -> 5fda7360a08)
This is an automated email from the ASF dual-hosted git repository.
villebro pushed a change to branch gaq-to-gtf
in repository https://gitbox.apache.org/repos/asf/superset.git
from 1f9bbdf6e21 fix(gtf): type task dedupe count property
add 5fda7360a08 feat(websocket): gate realtime notifications by permission (#43516)
No new revisions were added by this update.
Summary of changes:
SECURITY.md | 10 +
UPDATING.md | 5 +-
docker-compose-non-dev.yml | 2 +-
.../src/middleware/asyncEvent.test.ts | 2 +-
superset-frontend/src/middleware/asyncEvent.ts | 34 ++-
superset-frontend/src/middleware/realtime.test.ts | 4 +-
superset-frontend/src/middleware/realtime.ts | 22 +-
superset-frontend/src/views/CRUD/hooks.ts | 4 +-
superset-websocket/README.md | 79 ++++---
superset-websocket/spec/index.test.ts | 188 +++++++++++++--
superset-websocket/src/index.ts | 259 ++++++++++++++++-----
.../utils/client-ws-app/routes/index.js | 13 +-
superset/config.py | 23 +-
superset/daos/tasks.py | 48 ++--
superset/initialization/__init__.py | 8 +-
superset/models/task_subscribers.py | 2 +-
superset/security/manager.py | 9 +
superset/tasks/async_queries.py | 7 +-
superset/tasks/guest.py | 2 +-
superset/tasks/manager.py | 78 +++----
superset/views/base.py | 9 +-
superset/websocket/channel.py | 144 +++++++++---
.../utils/__init__.py => websocket/permissions.py} | 24 +-
tests/unit_tests/daos/test_tasks.py | 26 ++-
.../initialization/check_websocket_secret_test.py | 2 +-
.../test_realtime_notification_permissions.py | 61 +++++
tests/unit_tests/tasks/test_manager.py | 43 ++--
tests/unit_tests/views/test_base.py | 51 ++++
tests/unit_tests/websocket/test_channel.py | 114 ++++++++-
29 files changed, 977 insertions(+), 296 deletions(-)
copy superset/{mcp_service/utils/__init__.py => websocket/permissions.py} (55%)
create mode 100644 tests/unit_tests/security/test_realtime_notification_permissions.py