|
|
|
|
|
|
|
|
if($action->actionMethod == 'actionIndex' || |
|
|
if($action->actionMethod == 'actionIndex' || |
|
|
$action->actionMethod == 'actionCreate' || |
|
|
$action->actionMethod == 'actionCreate' || |
|
|
$action->actionMethod == 'actionUpdate' || |
|
|
$action->actionMethod == 'actionUpdate' || |
|
|
$action->actionMethod == 'actionCredit') |
|
|
|
|
|
|
|
|
$action->actionMethod == 'actionCredit' || |
|
|
|
|
|
$action->actionMethod == 'actionMail') |
|
|
{ |
|
|
{ |
|
|
return Yii::$app->user->identity->status == USER::STATUS_ADMIN |
|
|
return Yii::$app->user->identity->status == USER::STATUS_ADMIN |
|
|
|| Yii::$app->user->identity->status == USER::STATUS_BOULANGER ; |
|
|
|| Yii::$app->user->identity->status == USER::STATUS_BOULANGER ; |