i have close access index.php main page, modified sitecontroller.php following code:
public function accessrules() { return array( // allow users perform 'index' , 'view' actions * array('allow', 'actions' => array('index','view'), 'users' => array('admin'), ), // allow authenticated user perform 'create' , 'update' actions @ array('allow', 'actions' => array('create','update'), 'users' => array('admin'), ), // allow admin user perform 'admin' , 'delete' actions array('allow', 'actions' => array('admin','delete'), 'users' => array('admin'), ), // deny users array('deny', 'users' => array('*'), ), ); } because have give access admin. after manipulations saw redirect working, , url becomes index.php/site/login, instead of login/pass form got err_too_many_redirects. hope understand me)
i had same problem , solution add "error" action rules, allowing users access it. got because after doing update generated error , error action couldn't accessed.
Comments
Post a Comment