public function behaviors() { $behaviours = parent::behaviors(); $behaviours['verbs']['actions']['index'] = ['get']; $behaviours['verbs']['actions']['register'] = ['get', 'post']; $behaviours['verbs']['actions']['confirmAccount'] = ['get', 'post']; return $behaviours; }
public function behaviors() { $behaviours = parent::behaviors(); $behaviours['rbac']['actions']['index'] = ['permission' => CoreGlobal::PERM_ADMIN]; $behaviours['rbac']['actions']['dashboard'] = ['permission' => CoreGlobal::PERM_ADMIN]; $behaviours['verbs']['actions']['index'] = ['get']; $behaviours['verbs']['actions']['dashboard'] = ['get']; return $behaviours; }