AccessUser
AccessUser =
object
Defined in: packages/schema/src/access/types.ts:7
The signed-in user as access rules see it; roles come from the auth user record.
Indexable
Section titled “Indexable”[
key:string]:unknown
Properties
Section titled “Properties”
optionalid?:string|number
Defined in: packages/schema/src/access/types.ts:9
The user’s id, which .own compares with the resource’s .owner(...) field.
roles?
Section titled “roles?”
optionalroles?: readonlystring[]
Defined in: packages/schema/src/access/types.ts:11
The user’s roles, with organizations those of the membership too.