Setup User and RBAC Management in Yii2

My goal for this exercise is to have User and RBAC management in my Yii 2 application. I’ve started out with the Yii 2 Basic Project Template and I would be adding the Yii2-user and Yii2-rbac extensions to my web application. Here are some of the steps I have taken to install and configure the extensions. Step 1: Installation Install the packages. composer require dektrium/yii2-user composer require dektrium/yii2-rbac Step 2: Configure the web application NOTE: Make sure that you don’t have user component configuration in your config files. Add the user and rbac module to the web applcation config. ...

August 26, 2019