Re: cakePHP auth help (for a cake newbir)
Ok, my bad.. found the bug.. It's easyer to login when you input the CORRECT password... Sorry Zen On Nov 21, 5:00 pm, Zen <[EMAIL PROTECTED]> wrote: > Hello once more. > > I've followed your tutorial (K Orcan) and now I have a group/username > auth system. My problem is the following: > > When I visit a protected controller, the system redirect me to the > login form. After that I want it to redirect me back. What am I > missing? > > thank you for your patience > > Ricardo > > On Nov 20, 3:20 pm, "K Orcan" <[EMAIL PROTECTED]> wrote: > > > helps if I paste > > link:http://www.studiocanaria.com/articles/cakephp_auth_component_users_gr... > > > On Thu, Nov 20, 2008 at 10:20 AM, K Orcan <[EMAIL PROTECTED]> wrote: > > > I would check out this tutorial... ACL is overkill for what you may be > > > doing to restrict access to "things" > > > > -Korcan > > > > On Wed, Nov 19, 2008 at 8:03 PM, Zen <[EMAIL PROTECTED]> wrote: > > > >> Hello folks, > > > >> I've been using codeigniter for some time now. I've tryed to switch to > > >> cake previously but always got the same issue: Authentication. In > > >> codeigniter everything is less convention-centered. Table names can be > > >> anything and to "secure" a controller or a method inside a controller > > >> is simply to add a line on that controller or method. > > > >> I've decided to use cakePHP on a project that I'm starting and I've > > >> already started to code it (all the business rules are already on > > >> paper). I simply can't get the authentication working. Is there a > > >> tutorial, with baby steps that I could follow? I mean, I've read the > > >> documentation on the cake web site and followed a few tutorials. But I > > >> find myself copy/pasting code without understanding what I am doing. > > > >> Did it made sense? > > > >> Thank you guys for the help in advance. > > > >> Ricardo 'Zen' Valfreixo --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: cakePHP auth help (for a cake newbir)
Hello once more. I've followed your tutorial (K Orcan) and now I have a group/username auth system. My problem is the following: When I visit a protected controller, the system redirect me to the login form. After that I want it to redirect me back. What am I missing? thank you for your patience Ricardo On Nov 20, 3:20 pm, "K Orcan" <[EMAIL PROTECTED]> wrote: > helps if I paste > link:http://www.studiocanaria.com/articles/cakephp_auth_component_users_gr... > > On Thu, Nov 20, 2008 at 10:20 AM, K Orcan <[EMAIL PROTECTED]> wrote: > > I would check out this tutorial... ACL is overkill for what you may be > > doing to restrict access to "things" > > > -Korcan > > > On Wed, Nov 19, 2008 at 8:03 PM, Zen <[EMAIL PROTECTED]> wrote: > > >> Hello folks, > > >> I've been using codeigniter for some time now. I've tryed to switch to > >> cake previously but always got the same issue: Authentication. In > >> codeigniter everything is less convention-centered. Table names can be > >> anything and to "secure" a controller or a method inside a controller > >> is simply to add a line on that controller or method. > > >> I've decided to use cakePHP on a project that I'm starting and I've > >> already started to code it (all the business rules are already on > >> paper). I simply can't get the authentication working. Is there a > >> tutorial, with baby steps that I could follow? I mean, I've read the > >> documentation on the cake web site and followed a few tutorials. But I > >> find myself copy/pasting code without understanding what I am doing. > > >> Did it made sense? > > >> Thank you guys for the help in advance. > > >> Ricardo 'Zen' Valfreixo --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: cakePHP auth help (for a cake newbir)
>It's important to know what's out there! Totally agreed, I've done it before. The conclusion: almost every other framework is a) ugly and/or b) unlogical and/or c) useless and/ or d) too complex for it's too unsensible featurity. And yes. CI is totally unlogical and bloated with lots of crap features and outstanded comunity members that think they own the php market just because they are "sponsored" by a huge corp. It's not that I'm a cake fan. Ok, I might be, but not for it's name or features. Cake glues all the pieces in a logical, flexible, elegant and tangible way. The code talks by itself. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: cakePHP auth help (for a cake newbir)
Good newbie tutorials there. Thank you guys. You've lead me to the right track. Rafael, I'm not an Heretic :P It's important to know what's out there! Zen On Nov 20, 3:20 pm, "K Orcan" <[EMAIL PROTECTED]> wrote: > helps if I paste > link:http://www.studiocanaria.com/articles/cakephp_auth_component_users_gr... > > On Thu, Nov 20, 2008 at 10:20 AM, K Orcan <[EMAIL PROTECTED]> wrote: > > I would check out this tutorial... ACL is overkill for what you may be > > doing to restrict access to "things" > > > -Korcan > > > On Wed, Nov 19, 2008 at 8:03 PM, Zen <[EMAIL PROTECTED]> wrote: > > >> Hello folks, > > >> I've been using codeigniter for some time now. I've tryed to switch to > >> cake previously but always got the same issue: Authentication. In > >> codeigniter everything is less convention-centered. Table names can be > >> anything and to "secure" a controller or a method inside a controller > >> is simply to add a line on that controller or method. > > >> I've decided to use cakePHP on a project that I'm starting and I've > >> already started to code it (all the business rules are already on > >> paper). I simply can't get the authentication working. Is there a > >> tutorial, with baby steps that I could follow? I mean, I've read the > >> documentation on the cake web site and followed a few tutorials. But I > >> find myself copy/pasting code without understanding what I am doing. > > >> Did it made sense? > > >> Thank you guys for the help in advance. > > >> Ricardo 'Zen' Valfreixo --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: cakePHP auth help (for a cake newbir)
helps if I paste link: http://www.studiocanaria.com/articles/cakephp_auth_component_users_groups_permissions_revisited On Thu, Nov 20, 2008 at 10:20 AM, K Orcan <[EMAIL PROTECTED]> wrote: > I would check out this tutorial... ACL is overkill for what you may be > doing to restrict access to "things" > > -Korcan > > > On Wed, Nov 19, 2008 at 8:03 PM, Zen <[EMAIL PROTECTED]> wrote: > >> >> Hello folks, >> >> I've been using codeigniter for some time now. I've tryed to switch to >> cake previously but always got the same issue: Authentication. In >> codeigniter everything is less convention-centered. Table names can be >> anything and to "secure" a controller or a method inside a controller >> is simply to add a line on that controller or method. >> >> I've decided to use cakePHP on a project that I'm starting and I've >> already started to code it (all the business rules are already on >> paper). I simply can't get the authentication working. Is there a >> tutorial, with baby steps that I could follow? I mean, I've read the >> documentation on the cake web site and followed a few tutorials. But I >> find myself copy/pasting code without understanding what I am doing. >> >> Did it made sense? >> >> Thank you guys for the help in advance. >> >> Ricardo 'Zen' Valfreixo >> >> >> > --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: cakePHP auth help (for a cake newbir)
the easiest way to get you on the path to the success is: quit CI and all other non-logic based framework out there. you little heretic man... ;-) --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: cakePHP auth help (for a cake newbir)
Zen, I really struggled with the Auth as well on my first project. Here's the tutorial that got me over the hump: http://www.webdevelopment2.com/cakephp-auth-component-tutorial-1/ -Ryan On Nov 19, 8:03 pm, Zen <[EMAIL PROTECTED]> wrote: > Hello folks, > > I've been using codeigniter for some time now. I've tryed to switch to > cake previously but always got the same issue: Authentication. In > codeigniter everything is less convention-centered. Table names can be > anything and to "secure" a controller or a method inside a controller > is simply to add a line on that controller or method. > > I've decided to use cakePHP on a project that I'm starting and I've > already started to code it (all the business rules are already on > paper). I simply can't get the authentication working. Is there a > tutorial, with baby steps that I could follow? I mean, I've read the > documentation on the cake web site and followed a few tutorials. But I > find myself copy/pasting code without understanding what I am doing. > > Did it made sense? > > Thank you guys for the help in advance. > > Ricardo 'Zen' Valfreixo --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: cakePHP auth help (for a cake newbir)
I'm not sure which cake docs you have read but http://book.cakephp.org/view/172/Authentication coveres most aspects of basic authentication... Also teknoid has a nice article explaining things further http://teknoid.wordpress.com/2008/10/08/demystifying-auth-features-in-cakephp-12 Hope that helps. Brett Wilton http://wiltonsoftware.com --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
cakePHP auth help (for a cake newbir)
Hello folks, I've been using codeigniter for some time now. I've tryed to switch to cake previously but always got the same issue: Authentication. In codeigniter everything is less convention-centered. Table names can be anything and to "secure" a controller or a method inside a controller is simply to add a line on that controller or method. I've decided to use cakePHP on a project that I'm starting and I've already started to code it (all the business rules are already on paper). I simply can't get the authentication working. Is there a tutorial, with baby steps that I could follow? I mean, I've read the documentation on the cake web site and followed a few tutorials. But I find myself copy/pasting code without understanding what I am doing. Did it made sense? Thank you guys for the help in advance. Ricardo 'Zen' Valfreixo --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---