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

Enterprise or start-up?

Learn how to get the most out of your project with the help of our consulting team.
Learn more
Sign up to our newsletter to get the latest news and updates. No spam!