From 18301960d3f07552c3366123bfba139c7d17b31d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20Herbaux?= Date: Thu, 28 Jul 2022 11:37:03 +0200 Subject: [PATCH] Update packages/core/permissions/README.md Co-authored-by: Ben Irvin --- packages/core/permissions/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/permissions/README.md b/packages/core/permissions/README.md index 18411a0e35..04ea4daf26 100644 --- a/packages/core/permissions/README.md +++ b/packages/core/permissions/README.md @@ -31,7 +31,7 @@ ability.can('update', 'foo'); // false ability.can('update', 'bar'); // true ``` -- You need to give both an action and a condition provider as parameter when instanciating a new permission engine instance. They must be contained in a `providers` object property. +- You need to give both an action and a condition provider as parameters when instantiating a new permission engine instance. They must be contained in a `providers` object property. - You can also pass an `abilityBuilderFactory` to customize what kind of ability the `generateAbility` method will return. By default it'll use a `@casl/ability` builder. You can also register to some hooks for each engine instance