Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * @inheritdoc
- */
- public function behaviors()
- {
- return [
- 'access' => [
- 'class' => AccessControl::className(),
- 'rules' => [
- [
- 'actions' => ['index', 'view', 'create', 'update', 'delete'],
- 'allow' => true,
- 'roles' => ['administrator','manager'],
- ],
- ],
- ],
- ];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement