Realtime events are being received by users who don’t have read permissions on a newly created document.
Here’s the setup:
- A document is created in the profiles collection via a Function.
- The document is assigned read permissions only for userA and userB.
Permission.read(Role.user('userA')),
Permission.read(Role.user('userB')),
But the issue is: userC (who has no permissions) receives the documents.create event through the Realtime subscription.
Is this expected behavior for Appwrite Realtime? Shouldn't permission filters be enforced for realtime events as well?
@Steven @D5
Recommended threads
- RowList: The value of total is coming as...
RowList: The value of total is coming as a String, so it throws an error because it’s not parsed into an int. Error: TypeError: \"37\": type 'String' is not a ...
- 408 Timeout / Curl Error 7 in Executor w...
Hey everyone, I am losing my mind over a routing loop/timeout issue on a fresh self-hosted setup. I have a single Linux VPS (IP: 45.141.37.105) and one domain (...
- functions returning error 401 in local
I updated to 1.9.0, and the functions that used to work fine in 1.8.1 are now giving me a 401 error. I can't seem to find a solution. If anyone is running versi...