hi,
I am using Yii2 admin rbac… and i want to create a "Super Admin" with migration.
I can create a Super Admin by assign all the permission to that user. but i dont want to do like this.
I want to crate a user by migration with all the permissions.
Also if in future we create a new controller then this user have permission for that controller automatically.
And this user can able to see all the menu items.
Please guide me.
thanks