You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just wanted to share a possible approach for this - turns out the fix is pretty straightforward: check WAC read permission on each sub command. If authorized, send ack as usual. If not, send err <url> forbidden. Fully backwards-compatible.
Happy to take a stab at a PR if that would be helpful!
Thanks to everyone who's contributed to this discussion over the years - it helped clarify what the fix needed to be. 🙏
From
nodeSolidServer/node-solid-ws#1
inrupt-archived/websockets-pubsub#5
The fix:
https://github.com/inrupt/websockets-pubsub/blob/2c5e097c670a679d2f2072683c88e1216de3a307/src/lib/hub.ts#L76