You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the scenario where a client A has access to a doc X. If another client B now edits doc X so that client A does not have permissions to read the new version of X, then currently no new change is send to client A and this client keeps holding the old version of X without receiving any updates.
What we would like to have is that somehow client A gets notified about loosing permissions to doc X so that it can be remove/purged on the client side.
A rather simple approach would be to instead of completely filtering out docs to which clients do not have access to instead send reduced docs that only hold the information that the user does not have access to these docs.
e.g.
On the client side we could then listen to all changes and purge all docs where missingPermissions is true.
The downside of this approach is the quite big additional load as this will mean that first all docs are synced all the time and then only later the docs have to be removed on the client side. Currently we have the advantage that only a subset of docs is synced to the clients.
At the moment I cannot think of a straight forward approach to find out on the server side if a "purge instruction" needs to be sent to the client side, e.g. when a client looses access.
The text was updated successfully, but these errors were encountered:
In the scenario where a client A has access to a doc X. If another client B now edits doc X so that client A does not have permissions to read the new version of X, then currently no new change is send to client A and this client keeps holding the old version of X without receiving any updates.
What we would like to have is that somehow client A gets notified about loosing permissions to doc X so that it can be remove/purged on the client side.
A rather simple approach would be to instead of completely filtering out docs to which clients do not have access to instead send reduced docs that only hold the information that the user does not have access to these docs.
e.g.
On the client side we could then listen to all changes and purge all docs where
missingPermissions
istrue
.The downside of this approach is the quite big additional load as this will mean that first all docs are synced all the time and then only later the docs have to be removed on the client side. Currently we have the advantage that only a subset of docs is synced to the clients.
At the moment I cannot think of a straight forward approach to find out on the server side if a "purge instruction" needs to be sent to the client side, e.g. when a client looses access.
The text was updated successfully, but these errors were encountered: