Is there a way to set permissions for a "reference" Realm, using full sync?

85 Views Asked by At

Since Realm is no longer recommending query-based sync (https://docs.realm.io/sync/using-synced-realms/choosing-your-sync-type#query-based-sync), I've decided to switch to full sync and now I'm facing a problem with the user permissions. I can't set them, by using User.applyPermissions(...), since the realms are already of reference type.

Here are my questions:

The other option I can think of, would be to re-create the realms as full type with different names and copy the data over.

1

There are 1 best solutions below

0
On

Leaving this in case anyone encounters this issue - recreate the realm as full and copy over your data, there doesn't seem to be a way around it.