canCreateEntity
@firecms/core / canCreateEntity
Function: canCreateEntity()
Section titled “Function: canCreateEntity()”canCreateEntity<
M,USER>(collection,authController,path,entity):boolean
Defined in: util/permissions.ts:46
Type Parameters
Section titled “Type Parameters”M extends Record<string, any>
USER extends User
Parameters
Section titled “Parameters”collection
Section titled “collection”authController
Section titled “authController”AuthController<USER>
string
entity
Section titled “entity”Entity<M> | null
Returns
Section titled “Returns”boolean