Interface: PermissionsBuilderProps<M, UserType>
Props passed to a PermissionsBuilder
Type parameters​
Name | Type |
---|---|
M | extends Object |
UserType | extends User = User |
Properties​
authController​
• authController: AuthController
<UserType
>
Auth controller
Defined in​
lib/src/models/permissions.ts:54
collection​
• collection: EntityCollection
<M
, string
, User
>
Collection these permissions apply to
Defined in​
lib/src/models/permissions.ts:49
pathSegments​
• pathSegments: string
[]
Path segments of the collection e.g. ['products', 'locales']
Defined in​
lib/src/models/permissions.ts:39
user​
• user: null
| UserType
Logged in user