Extend user role error

Hi,

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?

Thanks

https://www.yiiframework.com/doc/guide/2.0/en/security-authorization

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

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