db.members
The db.members
table is added to the schema when having dexie-cloud-addon applied. Each member object gives access to a certain user within a certain realm with certain permissions. See Access Control in Dexie Cloud.
Every object in this table is of type Member.
Members can be created in order to invite users to a realm. The member will the be visible for the invited user through the db.cloud.invites property and if the invite
property is set, the user will also get an email with the invite and links to accept or reject it. The userId
property should not be set when creating members - it will be set when the user accepts the member. However, if adding members via the REST API, an application can bypass the invite step and directly give access to users within realms.
The primary key is id
, which is a globally unique string prefixed with ‘mmb’.
See Also
Dexie Cloud Docs
- Access Control in Dexie Cloud
- Add demo users
- Add public data
- Authentication in Dexie Cloud
- Consistency in Dexie Cloud
- DBPermissionSet
- Dexie Cloud API
- Dexie Cloud CLI
- Dexie Cloud Docs
- Dexie Cloud REST API
- DexieCloudOptions
- Invite
- Limits
- Member
- PersistedSyncState
- Purchase Subscription
- Realm
- Role
- Run Dexie Cloud on Own Servers
- Sharding and Scalability
- SyncState
- UserLogin
- db.cloud.configure()
- db.cloud.currentUser
- db.cloud.currentUserId
- db.cloud.events.syncComplete
- db.cloud.invites
- db.cloud.login()
- db.cloud.logout()
- db.cloud.options
- db.cloud.permissions()
- db.cloud.persistedSyncState
- db.cloud.roles
- db.cloud.schema
- db.cloud.sync()
- db.cloud.syncState
- db.cloud.userInteraction
- db.cloud.usingServiceWorker
- db.cloud.version
- db.cloud.webSocketStatus
- db.members
- db.realms
- db.roles
- dexie-cloud-addon