I'm working with Cake right now, and I thought that ACL was my answer
to this question, but it seems that Cake's ACL (ACL in general, I
suppose) only deals with roles, etc:
"It should be noted that ACL is *not* a system that is meant to
authenticate users. You should already have a way to store user
information and be able to verify that user's identity when they enter
the system."
Well, this is all good and well, but the user authentication systems I
develop, while being functional, leave quite a bit to be desired, and
I really wouldn't trust them beyond the limited purposes for which
I've deployed them. To put it simply, I expect that a framework like
this one would make developing a sane user authentication system a bit
easier for a developer like myself.
> I'm working with Cake right now, and I thought that ACL was my answer > to this question, but it seems that Cake's ACL (ACL in general, I > suppose) only deals with roles, etc:
> "It should be noted that ACL is *not* a system that is meant to > authenticate users. You should already have a way to store user > information and be able to verify that user's identity when they enter > the system."
> Well, this is all good and well, but the user authentication systems I > develop, while being functional, leave quite a bit to be desired, and > I really wouldn't trust them beyond the limited purposes for which > I've deployed them. To put it simply, I expect that a framework like > this one would make developing a sane user authentication system a bit > easier for a developer like myself.
ACL != Auth. It's *related* to authentication, but so is the FormHelper. The criticism you're leveling here doesn't quite make sense.
In any case, I might check out the AuthComponent (which works well with the ACL stuff). Chris' tute should be a good starting point.
I'm sorry, but "duh." I wasn't leveling any criticism, and I'm well
aware that the two are separate.I must have made myself unclear. In
any case, I'll take a look at Chris' tutorial. It's a bit old, can I
expect it to work with recent nightlies?
On May 28, 1:13 pm, John David Anderson <anderson.jo...@gmail.com>
wrote:
> > I'm working with Cake right now, and I thought that ACL was my answer
> > to this question, but it seems that Cake's ACL (ACL in general, I
> > suppose) only deals with roles, etc:
> > "It should be noted that ACL is *not* a system that is meant to
> > authenticate users. You should already have a way to store user
> > information and be able to verify that user's identity when they enter
> > the system."
> > Well, this is all good and well, but the user authentication systems I
> > develop, while being functional, leave quite a bit to be desired, and
> > I really wouldn't trust them beyond the limited purposes for which
> > I've deployed them. To put it simply, I expect that a framework like
> > this one would make developing a sane user authentication system a bit
> > easier for a developer like myself.
> ACL != Auth. It's *related* to authentication, but so is the
> FormHelper. The criticism you're leveling here doesn't quite make sense.
> In any case, I might check out the AuthComponent (which works well
> with the ACL stuff). Chris' tute should be a good starting point.
On Wed, May 28, 2008 at 1:22 PM, 703designs <thomasmal...@gmail.com> wrote:
> I'm sorry, but "duh." I wasn't leveling any criticism, and I'm well > aware that the two are separate.I must have made myself unclear. In > any case, I'll take a look at Chris' tutorial. It's a bit old, can I > expect it to work with recent nightlies?
Yes, it should be fine as the Auth component hasn't really changed much since I wrote it.
-- Chris Hartjes Internet Loudmouth Motto for 2008: "Moving from herding elephants to handling snakes..." @TheKeyBoard: http://www.littlehart.net/atthekeyboard
You mention putting putting the auth component in app_controller.php.
From the manual, "The AppController class can be defined in /app/
app_controller.php and it should contain methods that are shared
between all of your application’s controllers. It extends the
Controller class which is a standard CakePHP library." How do I
configure AppController without removing existing functionality? My
PHP OOP is rusty.
On May 28, 1:25 pm, "Chris Hartjes" <chart...@gmail.com> wrote:
> On Wed, May 28, 2008 at 1:22 PM, 703designs <thomasmal...@gmail.com> wrote:
> > I'm sorry, but "duh." I wasn't leveling any criticism, and I'm well
> > aware that the two are separate.I must have made myself unclear. In
> > any case, I'll take a look at Chris' tutorial. It's a bit old, can I
> > expect it to work with recent nightlies?
> Yes, it should be fine as the Auth component hasn't really changed
> much since I wrote it.
> --
> Chris Hartjes
> Internet Loudmouth
> Motto for 2008: "Moving from herding elephants to handling snakes..."
> @TheKeyBoard:http://www.littlehart.net/atthekeyboard
On Wed, May 28, 2008 at 2:44 PM, 703designs <thomasmal...@gmail.com> wrote:
> You mention putting putting the auth component in app_controller.php. > From the manual, "The AppController class can be defined in /app/ > app_controller.php and it should contain methods that are shared > between all of your application's controllers. It extends the > Controller class which is a standard CakePHP library." How do I > configure AppController without removing existing functionality? My > PHP OOP is rusty.
> On May 28, 1:25 pm, "Chris Hartjes" <chart...@gmail.com> wrote: >> On Wed, May 28, 2008 at 1:22 PM, 703designs <thomasmal...@gmail.com> wrote:
>> > I'm sorry, but "duh." I wasn't leveling any criticism, and I'm well >> > aware that the two are separate.I must have made myself unclear. In >> > any case, I'll take a look at Chris' tutorial. It's a bit old, can I >> > expect it to work with recent nightlies?
>> Yes, it should be fine as the Auth component hasn't really changed >> much since I wrote it.
>> -- >> Chris Hartjes >> Internet Loudmouth >> Motto for 2008: "Moving from herding elephants to handling snakes..." >> @TheKeyBoard:http://www.littlehart.net/atthekeyboard
> Have a look at the CakePHP AppController, it is in
> cake/libs/controller/app_controller.php:
> On Wed, May 28, 2008 at 2:44 PM, 703designs <thomasmal...@gmail.com> wrote:
> > You mention putting putting the auth component in app_controller.php.
> > From the manual, "The AppController class can be defined in /app/
> > app_controller.php and it should contain methods that are shared
> > between all of your application's controllers. It extends the
> > Controller class which is a standard CakePHP library." How do I
> > configure AppController without removing existing functionality? My
> > PHP OOP is rusty.
> > On May 28, 1:25 pm, "Chris Hartjes" <chart...@gmail.com> wrote:
> >> On Wed, May 28, 2008 at 1:22 PM, 703designs <thomasmal...@gmail.com> wrote:
> >> > I'm sorry, but "duh." I wasn't leveling any criticism, and I'm well
> >> > aware that the two are separate.I must have made myself unclear. In
> >> > any case, I'll take a look at Chris' tutorial. It's a bit old, can I
> >> > expect it to work with recent nightlies?
> >> Yes, it should be fine as the Auth component hasn't really changed
> >> much since I wrote it.
> >> --
> >> Chris Hartjes
> >> Internet Loudmouth
> >> Motto for 2008: "Moving from herding elephants to handling snakes..."
> >> @TheKeyBoard:http://www.littlehart.net/atthekeyboard
> On May 28, 1:54 pm, "Dardo Sordi Bogado" <dardoso...@gmail.com> wrote: >> Have a look at the CakePHP AppController, it is in >> cake/libs/controller/app_controller.php:
>> On Wed, May 28, 2008 at 2:44 PM, 703designs <thomasmal...@gmail.com> wrote:
>> > You mention putting putting the auth component in app_controller.php. >> > From the manual, "The AppController class can be defined in /app/ >> > app_controller.php and it should contain methods that are shared >> > between all of your application's controllers. It extends the >> > Controller class which is a standard CakePHP library." How do I >> > configure AppController without removing existing functionality? My >> > PHP OOP is rusty.
>> > On May 28, 1:25 pm, "Chris Hartjes" <chart...@gmail.com> wrote: >> >> On Wed, May 28, 2008 at 1:22 PM, 703designs <thomasmal...@gmail.com> wrote:
>> >> > I'm sorry, but "duh." I wasn't leveling any criticism, and I'm well >> >> > aware that the two are separate.I must have made myself unclear. In >> >> > any case, I'll take a look at Chris' tutorial. It's a bit old, can I >> >> > expect it to work with recent nightlies?
>> >> Yes, it should be fine as the Auth component hasn't really changed >> >> much since I wrote it.
>> >> -- >> >> Chris Hartjes >> >> Internet Loudmouth >> >> Motto for 2008: "Moving from herding elephants to handling snakes..." >> >> @TheKeyBoard:http://www.littlehart.net/atthekeyboard
In case you haven't seen it yet, I have created a sample website with
downloadable source code,
which demonstrates the integration of Auth and ACL in a CakePHP
project:
> > I assumed it already had some methods and attributes. Good to know
> > that I can freely edit AppModel and AppController.
> Yes App(Model|Controller|Helper) are well defined points of extension,
> cake is amazing.
> > On May 28, 1:54 pm, "Dardo Sordi Bogado" <dardoso...@gmail.com> wrote:
> >> Have a look at the CakePHP AppController, it is in
> >> cake/libs/controller/app_controller.php:
> >> On Wed, May 28, 2008 at 2:44 PM, 703designs <thomasmal...@gmail.com> wrote:
> >> > You mention putting putting the auth component in app_controller.php.
> >> > From the manual, "The AppController class can be defined in /app/
> >> > app_controller.php and it should contain methods that are shared
> >> > between all of your application's controllers. It extends the
> >> > Controller class which is a standard CakePHP library." How do I
> >> > configure AppController without removing existing functionality? My
> >> > PHP OOP is rusty.
> >> > On May 28, 1:25 pm, "Chris Hartjes" <chart...@gmail.com> wrote:
> >> >> On Wed, May 28, 2008 at 1:22 PM, 703designs <thomasmal...@gmail.com> wrote:
> >> >> > I'm sorry, but "duh." I wasn't leveling any criticism, and I'm well
> >> >> > aware that the two are separate.I must have made myself unclear. In
> >> >> > any case, I'll take a look at Chris' tutorial. It's a bit old, can I
> >> >> > expect it to work with recent nightlies?
> >> >> Yes, it should be fine as the Auth component hasn't really changed
> >> >> much since I wrote it.
> >> >> --
> >> >> Chris Hartjes
> >> >> Internet Loudmouth
> >> >> Motto for 2008: "Moving from herding elephants to handling snakes..."
> >> >> @TheKeyBoard:http://www.littlehart.net/atthekeyboard