Skip to content

fix: scope S3 realtime events to system managers - #11

Open
sankarsubramaniankvs wants to merge 6 commits into
s3from
fix/issue-9-system-manager-realtime
Open

fix: scope S3 realtime events to system managers#11
sankarsubramaniankvs wants to merge 6 commits into
s3from
fix/issue-9-system-manager-realtime

Conversation

@sankarsubramaniankvs

Copy link
Copy Markdown
Contributor

Summary

  • scope S3 realtime events to System Managers only
  • reuse a shared helper instead of leaving publish_realtime unscoped
  • keep existing event names while restricting recipients

Fixes

Changes

  • add _publish_system_manager_realtime(...) helper in aws_integration/s3/handlers.py
  • route s3_upload_complete through that helper
  • route migration, cleanup, and orphan progress/completion events through that helper

Security impact

  • prevents cross-user leakage of S3 operational metadata
  • ensures these notifications are raised only to System Managers

Validation

  • python3 -m compileall aws_integration
  • inspected existing scoped realtime pattern in backup flow and aligned with it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants