In CBL, when following these steps without filtering replication by docID, document is purged (so trying to fetch it from local DB will return null). When filtering by docID, document is not purged.
Steps to reproduce:
A doc in CBS which belongs to a channel.
SGW user who has access to that channel.
Identical doc in local DB.
Revoke the user's access to that channel.
Run a pull replication with a filter for the docID.
Document will not be purged.