I have a scenario, where I want the clients just to push the documents and disable pulling (reading) for everyone. How can I achieve that?
If this is a fixed application scenario, you can prevent authenticated users accessing any documents by setting a users “admin_channels” property to an empty array , or by not defining the property on user creation. This way users will only see documents explicitly mapped to the public ‘!’ channel.
If you only wish to treat some documents this way, your sync function logic could decide not to assign any channel to some documents. Or the sync function could assign some documents only to an “admin” channel that specific users can access.