Closed paskuale75 closed 10 years ago
set allowActions
as '*' or remove admin
from bootstrap. Go to admin page then assign role for the user.
'modules' => [
'admin' => [
'class' => 'mdm\admin\Module',
'allowActions' => [
'*'
]
]
...
],
Yes now work it, how can set default role, after installation ? Example for set all new users as "GENERIC USER" (Role) ?
thanks
2014-07-03 19:13 GMT+02:00 MDMunir notifications@github.com:
set allowActions as '*' or remove admin from bootstrap. Go to admin page then assign role for the user.
'modules' => [ 'admin' => [ 'class' => 'mdm\admin\Module', 'allowActions' => [ '*' ] ] ... ],
— Reply to this email directly or view it on GitHub https://github.com/mdmsoft/yii2-admin/issues/25#issuecomment-47958068.
Pasquale Pellicani http://www.paskuale.it http://www.linkedin.com/pub/pasquale-pellicani/51/979/63 http://www.riabsystem.it
at your authManager::defaultRoles
config.
'authManager' => [
'class' => 'yii\rbac\PhpManager', // or yii\rbac\DbManager
'defaultRoles' => ['generic_user']
]
Please, add all of this things to documentation !
Hi thanks for this module, after install it all my pages are forbidden (#403) why ?