realm-mobile-platform


How to include / exclude Objects from automatic Synchronization?


Im thinking about using the Realm Mobile Platform for my new application. I read the docs and found most of my requirements fullfilled like:
registration
login
encryption
self syncing
etc.
What I did not find is how it is decided which data is synchronized to which client. For example if you are a registered user and you login with your user account lets call it Account A. I guess all data related to Account A are now synchronizing to the Client. Now what happens if you logout with Account A and login with Account B (maybe a friend who just wants to use your smartphone for a minute) and Account B will never ever be used again on the current client. Will the automatic sync still synchronize the changes from the server to the client?
#Mulgard - What you are seeking is currently not possible.
For syncronised Realms, all data is syncronised, it is not possible to selectively syncronise data records or classes.
Authorisation to syncronsied Realms at this point is at the Realm level and not the record level, if a user has access to a Realm, then they have access to all the data in that Realm.
There is a ticket on the GitHub project listing a selective syncronisation capability as a candidate future feature. This sounds like it might fulfil some of your requirements.
https://github.com/realm/realm-mobile-platform/issues/40
There is also a ticket on the GitHub project listing "fine-grained" permissions.
https://github.com/realm/realm-mobile-platform/issues/22

Related Links

Use MySQL as information destination
Realm Object Server + server performance monitoring
How to include / exclude Objects from automatic Synchronization?
Can you acces Realm Mobile Platform from server side?
Realm Object Server - How to get the server Admin Access Token?

Categories

HOME
sonarqube
gridview
fuelux
nsbundle
maxscript
x264
code-coverage
iis-6
crystal-lang
mql5
g++
watson-conversation
plist
ipmitool
azure-iot-hub
alpacajs
scsi
android-7.0-nougat
easyphp
smartclient
replication
gulp-watch
mongoid6
short-url
jboss6.x
nstimer
genexus-sd
left-join
sql-server-2000
git-squash
linkedhashmap
sammy.js
keras-layer
sharding
numpy-broadcasting
servicestack-text
apiary.io
cin
mcustomscrollbar
stringtokenizer
naming
outputcache
vaadin-elements
pom.xml
mesosphere
carrot2
subnet
gpg-signature
flyout
template-toolkit
offline.js
cmp
spring-cloud-feign
cifilter
android-dateutils
riot
html-to-pdf
grass
concept-insights
jnlua
concurrentmodification
iced-coffeescript
uncompress
entity-framework-4.3
j-security-check
rrule
packet-sniffers
insight.database
xml-namespaces
create.js
angular-carousel
memset
mysql-error-1044
cnf
css-reset
jquery-1.9
cascadingdropdown
swfobject
alice
tree-balancing
sentestingkit
saleslogix
ilasm
convention
google-floodlight
jqote
clrstoredprocedure
qglwidget
squishit
ajax-polling
blender-2.49
spread
windows-identity
fail-fast-fail-early
contentpresenter

Resources

Encrypt Message