Skip to main content
Version: 1.0.0

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