简体   繁体   English

有没有办法使用完全同步为“参考”领域设置权限?

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

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.由于 Realm 不再推荐query-based synchttps://docs.realm.io/sync/using-synced-realms/choosing-your-sync-type#query-based-sync ),我决定切换full sync ,现在我面临用户权限问题。 I can't set them, by using User.applyPermissions(...) , since the realms are already of reference type .我无法通过使用User.applyPermissions(...)来设置它们,因为领域已经是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.我能想到的另一个选择是使用不同的名称将领域重新创建为full type并复制数据。

留下这个以防万一有人遇到这个问题 - 重新创建完整的领域并复制你的数据,似乎没有办法解决它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM