Hi,
I have an ACO object with alias users/apanel_list and a admin ARO
object in the DB.
When I issue $this-Acl-allow(admin, users/apanel_list) I get the
following error -
DbAcl::allow() - Invalid node [CORE\cake\libs\controller\components
\acl.php, line 325]
The issue seem to be coming from ACO
-
Von: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] Im Auftrag von Günther
Theilen
Gesendet: Dienstag, 2. Dezember 2008 11:57
An: cake-php@googlegroups.com
Betreff: Re: DbAcl::allow() - Invalid node
Hi Anja,
sorry, I can't help you with your specific problem.
But maybe you want to take
Not sure if it's a typo in your post, but the line has a trailing
slash in the string.
I wrote a little function (get_aco_node) because I was having a
similar problem with the code in the cookbook.
I added the following action and function to my users_controller to do
my initial Aco setup:
Auftrag von Rob
Gesendet: Donnerstag, 4. Dezember 2008 05:51
An: CakePHP
Betreff: Re: DbAcl::allow() - Invalid node
Not sure if it's a typo in your post, but the line has a trailing slash in the
string.
I wrote a little function (get_aco_node) because I was having a similar problem
) {
trigger_error(__('DbAcl::allow() - Invalid node', true),
E_USER_WARNING);
DbAcl::allow() - CORE\cake\libs\controller\components\acl.php, line 369
AclComponent::allow() - CORE\cake\libs\controller\components\acl.php,
line 103
UsersController::initDB() - APP\controllers
'); //This is line 129 which throws the
error
$this-Acl-allow($gruppe,
'controllers/Hotelinfomasters','create');
With the first line ('controllers/Bilds/','create') I get an error on
execution:
Warning (512): DbAcl::allow() - Invalid node
[CORE\cake\libs\controller\components