/** * @inheritdoc */ public function behaviors() { return ['access' => ['class' => AccessControl::className(), 'rules' => [['allow' => true, 'roles' => ['AdmRoot', 'AdmAdmin']]]]]; }
/** * @inheritdoc */ public function behaviors() { return ['access' => ['class' => AccessControl::className(), 'rules' => [['allow' => true, 'roles' => ['Adm-Pages']]]], 'verbs' => ['class' => VerbFilter::className(), 'actions' => ['delete' => ['post']]]]; }
/** * @inheritdoc */ public function behaviors() { return ['access' => ['class' => \pavlinter\adm\filters\AccessControl::className(), 'rules' => [['allow' => true, 'roles' => ['AdmRoot', 'AdmAdmin']]]], 'verbs' => ['class' => VerbFilter::className(), 'actions' => ['delete' => ['post']]]]; }
/** * @inheritdoc */ public function behaviors() { return ['access' => ['class' => AccessControl::className(), 'rules' => [['allow' => true, 'actions' => ['cron']], ['allow' => true, 'actions' => ['index', 'user-list', 'mail', 'remind-template', 'overdue-template'], 'roles' => ['Adm-OplataRead']], ['allow' => true, 'actions' => ['create', 'send-email', 'send-overdue'], 'roles' => ['Adm-OplataCreate']], ['allow' => true, 'actions' => ['update', 'send-email', 'send-overdue'], 'roles' => ['Adm-OplataUpdate']], ['allow' => true, 'actions' => ['delete'], 'roles' => ['Adm-OplataDelete']], ['allow' => true, 'actions' => ['delete-item'], 'roles' => ['Adm-OplataDeleteItem']]]], 'verbs' => ['class' => VerbFilter::className(), 'actions' => ['delete' => ['post'], 'delete-item' => ['post']]]]; }
/** * @inheritdoc */ public function behaviors() { return ['access' => ['class' => \pavlinter\adm\filters\AccessControl::className(), 'rules' => [['actions' => ['error'], 'allow' => true], ['actions' => ['login'], 'allow' => true, 'roles' => ['?']], ['actions' => ['index', 'logout'], 'allow' => true, 'roles' => ['@']], ['actions' => ['files'], 'allow' => true, 'roles' => ['AdmRoot']]]], 'verbs' => ['class' => \yii\filters\VerbFilter::className(), 'actions' => ['logout' => ['post']]]]; }
/** * @inheritdoc */ public function behaviors() { return ['access' => ['class' => AccessControl::className(), 'rules' => [['allow' => true, 'roles' => ['Adm-Transl'], 'actions' => ['index', 'create', 'fulledit', 'delete', 'dot-translation', 'load-translations']], ['allow' => true, 'roles' => ['Adm-Transl:Html'], 'actions' => ['update']]]], 'verbs' => ['class' => VerbFilter::className(), 'actions' => ['delete' => ['post'], 'load-translations' => ['post']]]]; }