Skip to main content

Interface: PermissionsBuilderProps<M, UserType>

Props passed to a PermissionsBuilder

Type parameters

NameType
Mextends Object
UserTypeUser

Properties

authController

โ€ข authController: AuthController<UserType>

Auth controller

Defined in

models/permissions.ts:47


context

โ€ข context: FireCMSContext<UserType>

Context of the app status

Defined in

models/permissions.ts:51


entity

โ€ข entity: null | Entity<M>

Entity being edited, might be null if it is new

Defined in

models/permissions.ts:35


path

โ€ข path: string

Collection path of this entity

Defined in

models/permissions.ts:39


user

โ€ข user: null | UserType

Logged in user

Defined in

models/permissions.ts:43