From: Arjen v. B. <boc...@fe...> - 2009-04-04 21:06:54
|
Ok, I found the bug: I guess in order to prepare for a mysql query, the variable containing the group is padded with quotes. This causes the check for the group to fail. To fix it, edit admin/include/where/admdesigner.inc on line 155 replace in_array($r, $_SESSION['acl']['pgroup']) || with in_array(trim($r, "'"), $_SESSION['acl']['pgroup']) || Adding designers should be fine after that. cheers, Arjen On 4 apr 2009, at 11:24, Arjen van Bochoven wrote: > Could anyone explain to me how the group administrator is supposed to > work? Here's what I did: > > - Fresh install of phpESP v2.1.2. > - copied phpESP.ini.php.example to phpESP.ini.php > - changed db vars and base_url to match my setup > - Logged in as root > - Created a new group 'nescog' > - Created a designer with membership of group 'nescog' and all options > set to 'Yes' except disabled > > I supposed that the designer with group-edit capabilities should be > able to add additional designers, but when I log in as the group- > editor I get the following message: > "This account does not have permission to access this group" > > Is there something I am missing? > > Arjen > > ------------------------------------------------------------------------------ > _______________________________________________ > phpESP-general mailing list > php...@li... > https://lists.sourceforge.net/lists/listinfo/phpesp-general |