Closed tiffoknee closed 9 years ago
check file @app/rbac/assignments.php
(your assigment file)
thanks mdmunir - it is
<?php
return [
1 => 'SuperUser',
];
value should be
<?php
return [
1 => [
'SuperUser',
]
];
Thanks, that got it.
Invalid argument supplied for foreach()
After updating to yii2 stable and doing a composer update, I am getting the above error
I've added the 'as access' section to my common main.php (as below) and removed allowactions from modules > admin