Extend user role error


I need to use ACF with a new role, I found an old article "Simpler Role Based Authorization in Yii 2.0".

Now am getting an error: "Setting unknown property: common\components\AccessRule::ruleConfig".

I need 3 roles, user, manager, and admin, how to?



And obviously, your common\components\AccessRule hasn’t a ruleConfig

it is clear this is the cause … but how to fix it?