Interface: Subject
Defined in: packages/core/src/types.ts:26
Anything that can hold roles and permissions — usually a user, but can be any model (e.g. an API client, a service account). Equivalent to Laravel's model_type + model_id.
Properties
| Property | Type | Defined in |
|---|---|---|
id | Id | packages/core/src/types.ts:28 |
type | string | packages/core/src/types.ts:27 |
