If a document is removed from all of user’s channels, then couchbase lite should auto purge that document from local database.
However if a user (or role) loses access to a channel , then couchbase lite clients are not notified that they no longer have access to the documents in that channel and documents will not be purged automatically from couchbase lite. This enhancement is tracked here