I'm new in cakePHP. And I don't know how to question directly to
cakePHP development team.

I think Acl in cakePHP is good. But I've found some thing wrong with
authentication check, with multiple roles.

Details:

File: cake/libs/controller/components/acl.php
Class: DbAcl
Method: Check
Line: 282. Code: return false;
Line: 299. Code: return false;

I've had some tests with this method. I've seen that,

DbAcl::check($aro, $aco, $action = '*')

accept multiple request object (mean that $aro may have 1, 2, 3 or
more request object).

But in the code, "return false" is used at above line (282 and 299),
there is only one $aro in list to be checked.

In my case, I've change all these line to continue.

What is your opinion ?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to