Skip to content

UserWithRoles

UserWithRoles = object

Defined in: packages/permissions/src/resolve-grants.ts:27

Minimal user shape accepted by resolveGrants: any object with a roles array. The function reads .roles and forwards them to the underlying merge logic.

roles: readonly string[]

Defined in: packages/permissions/src/resolve-grants.ts:27