Want to confirm a few things with ‘A’: MongoDb’s Query Roles (document & field level permissions) versus ‘B’: the Realm Sync Permissions:
(Understanding that ‘Collection Rules’ do not work when Realm Sync is on)
- Confirm that ‘A’ is subject to same Realm Sync restrictions as ‘Collection Rules’ (meaning can’t have both)?
- Does ‘A’ apply to Realm App’s end-users, system users or both (another post suggests system users)?
- Does ‘A’ allow to modify (dynamically) permissions on the fly via Functions, Change Streams and/or some other way (if so please explain)? -and if so (and different than Collection Rules), will those changes affect data downloaded to a device (e.g.: remove data if permission is removed)?
Thank you in advance!