OrganizationScopedUser
A user that may belong to one or more organizations (tenants). Backends that use tenant-scoped
models add an organizationIds array to their user model; this interface lets the shared
permission/query-filter helpers read it without every consumer casting by hand.
Extends
Properties
_id
_id:
string|ObjectId
Inherited from
admin
admin:
boolean
Inherited from
id
id:
string
Inherited from
isAnonymous?
optionalisAnonymous?:boolean
We support anonymous users, which do not yet have login information. This can be helpful for pre-signup users.
Inherited from
organizationIds?
optionalorganizationIds?:string[]