SyncPermission

public final class SyncPermission: Object

This model is used to reflect permissions.

It should be used in conjunction with a SyncUser‘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

    Swift

    @objc public dynamic var updatedAt = Date()
  • The ID of the affected user by the permission.

    Declaration

    Swift

    @objc public dynamic var userId = ""
  • The path to the realm.

    Declaration

    Swift

    @objc public dynamic var path = ""
  • Whether the affected user is allowed to read from the Realm.

    Declaration

    Swift

    @objc public dynamic var mayRead = false
  • Whether the affected user is allowed to write to the Realm.

    Declaration

    Swift

    @objc public dynamic var mayWrite = false
  • Whether the affected user is allowed to manage the access rights for others.

    Declaration

    Swift

    @objc public dynamic var mayManage = false