v3.2.0-beta.2
Pre-release
Pre-release
realm-ci
released this
01 Mar 04:52
·
1928 commits
to master
since this release
Realm Object Server v3.0.0-alpha.8 or newer is required when using synchronized Realms.
Enhancements
- Added
findOrCreate(forRoleNamed:)
andfindOrCreate(forRole:)
toList<Permission>
to simplify the process of adding permissions for a role. - Added
+permissionForRoleNamed:inArray:
,+permissionForRoleNamed:onRealm:
,+permissionForRoleNamed:onClass:realm:
,+permissionForRoleNamed:onClassNamed:realm:
, and+permissionForRoleNamed:onObject:
toRLMSyncPermission
to simplify the process of adding permissions for a role. - Added
+[RLMSyncSession sessionForRealm:]
to retrieve the sync session corresponding to aRLMRealm
.
Bugfixes
PermissionRole.users
andPermissionUser.roles
are now public as intended.- Fixed the handling of
setPermissions
in-[RLMRealm privilegesForRealm]
and related methods.