DataStore SyncEngine completely fails when at least one subscription fails. #576
Labels
bug
Something isn't working
datastore
Issues related to the DataStore category
pending-release
Code has been merged but pending release Code has been merged but pending release
Milestone
Describe the bug
Using auth directive with different groups such as
allow: owner
andallow:groups
for each model. Sync Engine creates subscriptions for each model. A user that is signed-In may not be enrolled in group. When this happens, the subscription will fail with unauthorized for the model withgroups
authorization, causing entire sync engine to fail.To Reproduce
Steps to reproduce the behavior:
#561 (comment)
Expected behavior
A clear and concise description of what you expected to happen.
SyncEngine successfully creates subscriptions for models with owner authorization when the user is signed in, so that data is reconciled with the local store.
The text was updated successfully, but these errors were encountered: