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 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


Access Control in Dexie Cloud

Table of Contents