{
"type": "subscribe",
"collection": "messages",
"event": "update"
"query": { "fields": ["text"] }
}
How to add “owner_id _eq owner1“ filter to the above realtime subscription so directus sends updated messages only to subscribed client with that filter?
Is it missing in the docs? https://directus.io/docs/guides/realtime/subscriptions
– me14523Hey, did it work? Please let me know, thanks
– ahmad_quvorYou can see the filter queries from here https://directus.io/docs/guides/connect/filter-rules if it works in the there, I think it's worth mentioning the rules page in the docs as well.
– AbdallahDid not work (ignored)!
– me14523Try adding the filter in the permissions section that should work.
– ahmad_quvor