Skip to main content
Version: 3.0.0-beta

Function: canCreateEntity()

canCreateEntity<M, USER>(collection, authController, path, entity): boolean

Type Parameters​

• M extends Record<string, any>

• USER extends User

Parameters​

• collection: EntityCollection<M, any>

• authController: AuthController<USER>

• path: string

• entity: Entity<M>

Returns​

boolean

Defined in​

packages/firecms_core/src/util/permissions.ts:46

Sign up to our newsletter to get the latest news and updates. No spam!