diff --git a/README.md b/README.md index 771bdd1..1b6ba6c 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,16 @@ The package has been extracted from https://github.com/dmstr/yii2-db ### Configuration options -`enableRecursiveRoles` +In application config: +``` + 'params' => [ + 'ActiveRecordAccessTrait' => [ + 'enableRecursiveRoles' => true + ], + ], +``` + +> Note: Static property usage `enableRecursiveRoles` is deprecated. ### Example