Skip to main content
Version: 3.0.0-beta

Type Alias: PermissionsBuilder()<EC, USER, M>

PermissionsBuilder<EC, USER, M>: ({ pathSegments, user, collection, authController }) => Permissions | undefined

Builder used to assign permissions to entities, based on the logged user or collection.

Type Parameters​

• EC extends EntityCollection = EntityCollection

• USER extends User = User

• M extends object = InferCollectionType<EC>

Parameters​

• { pathSegments, user, collection, authController }: PermissionsBuilderProps<EC, USER, M>

Returns​

Permissions | undefined

Defined in​

packages/firecms_core/src/types/permissions.ts:75

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