RLMSyncPermission
@interface RLMSyncPermission : RLMObject
This model is used to reflect permissions.
It should be used in conjunction with a RLMSyncUser
‘s Permission Realm.
You can only read this Realm. Use the objects in Management Realm to
make request for modifications of permissions.
See https://realm.io/docs/realm-object-server/#permissions for general documentation.
-
The date this object was last modified.
Declaration
Objective-C
@property (readonly, atomic) NSDate *_Nonnull updatedAt;
Swift
var updatedAt: Date { get }
-
The identity of a user affected by this permission.
Declaration
Objective-C
@property (readonly, atomic) NSString *_Nonnull userId;
Swift
var userId: String { get }
-
The path to the realm.
Declaration
Objective-C
@property (readonly, atomic) NSString *_Nonnull path;
Swift
var path: String { get }
-
Whether the affected user is allowed to read from the Realm.
Declaration
Objective-C
@property (readonly, atomic) BOOL mayRead;
Swift
var mayRead: Bool { get }
-
Whether the affected user is allowed to write to the Realm.
Declaration
Objective-C
@property (readonly, atomic) BOOL mayWrite;
Swift
var mayWrite: Bool { get }
-
Whether the affected user is allowed to manage the access rights for others.
Declaration
Objective-C
@property (readonly, atomic) BOOL mayManage;
Swift
var mayManage: Bool { get }