Re: Auth/ACL problem: You are not authorized to access that location.
Hi jeff thanks for this plugin, it looks great on the demo but when I installed it in my app, it says Missing controller You are seeing this error because controller PagesController could not be found. It seems I should add some routes to redirect /admin/acl/aros to / plugins/acl/views/acl/admin_aros.ctp Another guy has the same problem (see comment on your Bakery article) Have you any clue to solve this please? Seb. On Nov 12, 7:39 pm, Jeff Loiselle aka phishy [EMAIL PROTECTED] wrote: Hey guys, I've been working on an ACL plugin if you're interested.http://bakery.cakephp.org/articles/view/acl-management-plugin Regards, jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Auth/ACL problem: You are not authorized to access that location.
Hi again I update my Cake install with the last SVN branch, and now it works like a charm. Thanks again for your work Is there any way to be warned when a new version is available? Seb. On Nov 13, 11:28 am, djiize [EMAIL PROTECTED] wrote: Hi jeff thanks for this plugin, it looks great on the demo but when I installed it in my app, it says Missing controller You are seeing this error because controller PagesController could not be found. It seems I should add some routes to redirect /admin/acl/aros to / plugins/acl/views/acl/admin_aros.ctp Another guy has the same problem (see comment on your Bakery article) Have you any clue to solve this please? Seb. On Nov 12, 7:39 pm, Jeff Loiselle aka phishy [EMAIL PROTECTED] wrote: Hey guys, I've been working on an ACL plugin if you're interested.http://bakery.cakephp.org/articles/view/acl-management-plugin Regards, jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Auth/ACL problem: You are not authorized to access that location.
Thanks Ralph, but I knew that for CakePHP. I asked Jeff about its Acl plugin... Seb. On 13 nov, 17:58, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On the project page (http://cakeforge.org/projects/cakephp/) you can click the little letter icon to Monitor that project. It'll email you when a new package is released. Watch your spam folder, I find my alerts sometimes end up in there. Ralph On Nov 13, 4:58 am, djiize [EMAIL PROTECTED] wrote: Hi again I update my Cake install with the last SVN branch, and now it works like a charm. Thanks again for your work Is there any way to be warned when a new version is available? Seb. On Nov 13, 11:28 am, djiize [EMAIL PROTECTED] wrote: Hi jeff thanks for this plugin, it looks great on the demo but when I installed it in my app, it says Missing controller You are seeing this error because controller PagesController could not be found. It seems I should add some routes to redirect /admin/acl/aros to / plugins/acl/views/acl/admin_aros.ctp Another guy has the same problem (see comment on your Bakery article) Have you any clue to solve this please? Seb. On Nov 12, 7:39 pm, Jeff Loiselle aka phishy [EMAIL PROTECTED] wrote: Hey guys, I've been working on an ACL plugin if you're interested.http://bakery.cakephp.org/articles/view/acl-management-plugin Regards, jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Auth/ACL problem: You are not authorized to access that location.
Hey guys, I've been working on an ACL plugin if you're interested. http://bakery.cakephp.org/articles/view/acl-management-plugin Regards, jeff --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Auth/ACL problem: You are not authorized to access that location.
Hi, I've followed the tutorial at http://blog.jails.fr/cakephp/index.php?post/2007/08/15/AuthComponent-and-ACL , I updated the ACL as said and all. But when I try to login with the admin account I get You are not authorized to access that location. even though I ran the InitAcl with the line $this-Acl-allow('Admin', 'Users', '*'); And another weird thing, when I enter an invalid username/password combination I doesn't get the Login failed. Invalid username or password.. Anyone experienced the same? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Auth/ACL problem: You are not authorized to access that location.
I had the exact same thing. The jails blog *does* work though (and works well when it does). Have you changed the hash in the database? Have you ran the init_acl script? The only thing I can suggest if those two things fail, is to clear out what you've got, and start again. The tiniest of mistakes can cause it to fall over and be a dog to debug. One thing, the acl component is broken and there is a ticket in the trac (with patch). At the moment, parent permissions are overwriting any permissions further down the line but for the blog tutorial that shouldnt matter. On Oct 5, 8:54 am, Andreas [EMAIL PROTECTED] wrote: Hi, I've followed the tutorial athttp://blog.jails.fr/cakephp/index.php?post/2007/08/15/AuthComponent-... , I updated the ACL as said and all. But when I try to login with the admin account I get You are not authorized to access that location. even though I ran the InitAcl with the line $this-Acl-allow('Admin', 'Users', '*'); And another weird thing, when I enter an invalid username/password combination I doesn't get the Login failed. Invalid username or password.. Anyone experienced the same? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Auth/ACL problem: You are not authorized to access that location.
I had the same problem trying this approach. In fact you need to give the rights to admin as for the other (I use role myself). What I did is : - disabling the Auth in app controller - empty the acos_aros table - log as admin - call my interface for managing role's rights (it displays all controller / all actions per user's role with a pair of links allow / denied) - allow the acl interface to admin - Enabling again the Auth Then when you log as admin (of course you allow in beforeFilter the login action), since you have the right to manage ACL permissions, you can enable/disable actions for yourself (and the others) as much as you want. this sounds really useful, would you consider posting an example app of this for all of us who are struggling with ACL and Auth (such as me!). thanks, jon -- jon bennett w: http://www.jben.net/ iChat (AIM): jbendotnet Skype: jon-bennett --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
Re: Auth/ACL problem: You are not authorized to access that location.
I had the same problem trying this approach. In fact you need to give the rights to admin as for the other (I use role myself). What I did is : - disabling the Auth in app controller - empty the acos_aros table - log as admin - call my interface for managing role's rights (it displays all controller / all actions per user's role with a pair of links allow / denied) - allow the acl interface to admin - Enabling again the Auth Then when you log as admin (of course you allow in beforeFilter the login action), since you have the right to manage ACL permissions, you can enable/disable actions for yourself (and the others) as much as you want. hope this helps On Oct 5, 10:22 am, Mike Green [EMAIL PROTECTED] wrote: I had the exact same thing. The jails blog *does* work though (and works well when it does). Have you changed the hash in the database? Have you ran the init_acl script? The only thing I can suggest if those two things fail, is to clear out what you've got, and start again. The tiniest of mistakes can cause it to fall over and be a dog to debug. One thing, the acl component is broken and there is a ticket in the trac (with patch). At the moment, parent permissions are overwriting any permissions further down the line but for the blog tutorial that shouldnt matter. On Oct 5, 8:54 am, Andreas [EMAIL PROTECTED] wrote: Hi, I've followed the tutorial athttp://blog.jails.fr/cakephp/index.php?post/2007/08/15/AuthComponent-... , I updated the ACL as said and all. But when I try to login with the admin account I get You are not authorized to access that location. even though I ran the InitAcl with the line $this-Acl-allow('Admin', 'Users', '*'); And another weird thing, when I enter an invalid username/password combination I doesn't get the Login failed. Invalid username or password.. Anyone experienced the same? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---