Re: Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in permissions check.

2011-05-25 Thread Jacob
I have ran cake acl create aco root controllers in the console, and
ran the listed build_acl function in the second link. Both say they
ran and don't report errors. The build_acl function lists a bunch of
created acos.

When I remove auth from users and groups, I am able to create a group
at groups/add and create a user at users/add. Unfortunately when I
visit a page that doesn't have auth turned off it comes up with a
login prompt and doesn't let me authenticate with the user I just
created. When I create a default user anonymous, I receive the 512
errors I posted in my first message. (I am assuming this is because
anonymous doesn't require a login)


On May 20, 3:04 am, ShadowCross adri...@jps.net wrote:
 Did you create your Access Control Objects?  
 See:http://book.cakephp.org/view/1548/Creating-ACOs-Access-Control-Objects
 and the subsequent 
 page:http://book.cakephp.org/view/1549/An-Automated-tool-for-creating-ACOs
 (andhttp://book.cakephp.org/view/1550/Setting-up-permissions)

 Basically, any action in your controller that is not included in the
 $this-Auth-allowedActions array (in the beforeFilter() method of
 that controller) needs to have an entry in the acos table, otherwise
 you get the warnings you indicated.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in permissions check.

2011-05-20 Thread ShadowCross
Did you create your Access Control Objects?  See:
http://book.cakephp.org/view/1548/Creating-ACOs-Access-Control-Objects
and the subsequent page:
http://book.cakephp.org/view/1549/An-Automated-tool-for-creating-ACOs
(and http://book.cakephp.org/view/1550/Setting-up-permissions)

Basically, any action in your controller that is not included in the
$this-Auth-allowedActions array (in the beforeFilter() method of
that controller) needs to have an entry in the acos table, otherwise
you get the warnings you indicated.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in permissions check.

2011-05-19 Thread Jacob
Using Cake 1.3 I receive the following message after attempting to
setup Auth/ACL. This happens on every page within the directory. Can
anyone point me toward an area to troubleshoot? I am new to CakePHP


Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in
permissions check.  Node references:
Aro: Array
(
[User] = Array
(
[id] = 2
[username] = anonymous
[full_name] = visitor
)
)
Aco: controllers/acos/index [CORE/cake/libs/controller/components/
acl.php, line 272]

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in permissions check.

2011-05-19 Thread Jacob
I have Cake Version 1.3 and I keep receiving this message. It doesn't
matter which url I visit, any valid page throws these errors up. It
was after Auth ACL and groups were setup. Does anyone know of maybe a
quick fix that i am over looking?


Warning (512): DbAcl::check() - Failed ARO/ACO node lookup in
permissions check.  Node references:
Aro: Array
(
[User] = Array
(
[id] = 2
[username] = anonymous
[full_name] = visitor
)
)
Aco: controllers/groups/index [CORE/cake/libs/controller/components/
acl.php, line 272]

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php