Goal
Ensure shared-drive realtime events are correctly delivered when shared folders are nested.
Related Endpoint
GET /sharings/drives/:id/realtime
Related Code
web/sharings/realtime.go
Ws
wsOwner
wsHijack
wsProxy
filterMapEvents
What we probably need
- Keep the existing realtime hub unchanged.
- Keep using the shared-drive realtime endpoint.
- Verify that filterMapEvents works correctly with nested shared folders.
- Add regression tests for parent/child shared-folder realtime delivery.
- Only change code if current filtering or authorization blocks a valid nested-sharing case.
Expected Behavior
parent shared folder subscriber:
receives events for files/folders inside the parent tree, including nested child shared folders
child shared folder subscriber:
receives events for files/folders inside the child shared folder
child-only recipient:
does not receive events from parent siblings or parent-only content
Goal
Ensure shared-drive realtime events are correctly delivered when shared folders are nested.
Related Endpoint
GET /sharings/drives/:id/realtime
Related Code
web/sharings/realtime.go
Ws
wsOwner
wsHijack
wsProxy
filterMapEvents
What we probably need
Expected Behavior
parent shared folder subscriber:
receives events for files/folders inside the parent tree, including nested child shared folders
child shared folder subscriber:
receives events for files/folders inside the child shared folder
child-only recipient:
does not receive events from parent siblings or parent-only content