Skip to main content

Type alias: PermissionsBuilder<M>

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

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

Type parameters#

NameType
MM: Object = any

Defined in#

models/collections.ts:216