Hi all,
i have this issue. (EE v2.6.1 - Build Date: 20130506—MSM Version: 2.1.6 Build: 20130827 )
MSM site with many sites.
I want to create a group of editors for each site, that can access (obvoiusly) only to that site’s cp.
Well the problem is that if htat group of users has no “can access admin panel ” permission also in the default_site i receive a “too many redirect” error from the browserwhile i’m saving an entry.
This doesn’t happen if i try to save, for example, a category , or a globalò variable.
So is a channel related issue.
Debugging a bit the code (sorry but i’m a bit out of time now for debugging) i’ve noticed the site redirect me
when i arrive at
system/expressionengine/libraries/Core.php
474 if (ee()->session->userdata('admin_sess') == 0 &&
475 ee()->router->fetch_class() != 'login' &&
476 ee()->router->fetch_class() != 'css')
477 {
478 // has their session Timed out and they are requesting a page?
479 // Grab the URL, base64_encode it and send them to the login screen.
480 $safe_refresh = ee()->cp->get_safe_refresh();
481 $return_url = ($safe_refresh == 'C=homepage') ? '' : AMP.'return='.base64_encode($safe_refresh);
482
483
484 ee()->functions->redirect(BASE.AMP.'C=login'.$return_url);
485 }because my session variable admin_sess is 0.
I also checked if this was a known bug fixed in newer EE versions, but it seems not.
Any advice?
Thanks
Andrea