Skip to main content
Version: 1.0.0

Type alias: PermissionsBuilder<M, UserType>

Ƭ PermissionsBuilder<M, UserType>: Permissions | ({ entity, path, user, authController, context }: PermissionsBuilderProps<M, UserType>) => Permissions

Builder used to assign create, edit and delete permissions to entities, based on the logged user, entity or collection path

Type parameters

NameType
Mextends Object
UserTypeUser

Defined in

models/permissions.ts:59