AD7
Thanks very much for your thorough explanation. I'm a newcomer to Cake and it helps to get solid information. It is appreciated. I will check out your links and ACL implementation. hen will the new collaboration with dieter be unveiled. It is very much needed as I can see form the plethora of posts regarding problems with auth and acl. Devon On Dec 29, 5:56 am, "AD7six" <[EMAIL PROTECTED]> wrote:
On Dec 29, 1:35 am, "devon" <[EMAIL PROTECTED]> wrote: > Hello > I've used Dieters dAuth 0.3 successfully with the latest security.php > component. Good stuff Dieter. > Question: Will they both play together with ACL on build 1.1.12.4205? > I've tried to configure ACL today and ran into some problems.The initdb > sequence worked and populated the database. Beyond that I got" Error: > Parent Node Not Found. > There was an error creating the Aro, probably couldn't find the parent > node. > If you wish to create a new root node, specify the <parent_id> as '0'." > It seems that many have had difficulty getting ACL implemented, so any > advice is very welcome. > Thanks > devonHi Devon, d_auth is not dependent and doesn't interact in any way with the core acl implementation. As has been said before what d auth does do is add the logged in users details to the session if they successfully login, which can be (if you implment it to do so) picked up by your authroization mechanism to know who is currently logged in. The error message above comes from the acl.php script which is part of cake, so I guess my ears were burning unnecessarily ;). I've never used it, but a glance a the code would suggest that there was a missing parameter when you called it. I would recommend usinghttp://cakeforge.org/projects/acl-admin/to administer your acl rules. To protect your application you could (if you choose of course) declare the AC component (which is part of the acl-admin download) in your App Controller; you would then have automatic ACL checks for each url. The AC component that comes with the download has some dependencies, if you would prefer not to figure them out and move things around, the one in this blog is complete and self sufficient:http://www.noswad.me.uk/MiBlog/ACLPart1. By self sufficient I mean that you don't even need the acl-admin plugin installed to use it (assuming your aco objects are named following the same convention, or you edit the component to expect the aco alias format you have defined). HTH, AD7six Please note: The manual/bakery is a good place to start any quest for info. The cake search (at the time of writing) erroneously reports less/no results for the google group. The wiki may contain incorrect info - read at your own risk (it's mainly user submitted) :) You may get your answer quicker by asking on the IRC Channel (you can access it with just a browser here:http://irc.cakephp.org).
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
