just a thought...11.2 Simple Acl controlled Application tutorial in the cookbook in not simple.

2010-12-30 Thread poor-grammar
11.2 Simple Acl controlled Application... this tutorial is not so simple. for a new baker. i spend some time reading cake basics... and dived into the tutorials... the 1st one is easy to understand. but the 2nd one is not that simple,,, All new baker like me should go thur the ACL and Auth c

Re: simple acl controlled application tutorial

2010-12-14 Thread cricket
On Tue, Dec 14, 2010 at 6:48 PM, georgeman wrote: > I'm referring to the tutorial in the Cake manual. > > 11.2.4.1 Group-only ACL says: "In case we want simplified per-group > only permissions, we need to implement bindNode() in User model." > > function bindNode($user) { >    return array('model'

simple acl controlled application tutorial

2010-12-14 Thread georgeman
I'm referring to the tutorial in the Cake manual. 11.2.4.1 Group-only ACL says: "In case we want simplified per-group only permissions, we need to implement bindNode() in User model." function bindNode($user) { return array('model' => 'Group', 'foreign_key' => $user['User'] ['group_id']); }

Re: Problem to Login with "Simple Acl controlled Application" tutorial cakephp 1.3 - Lost session

2010-09-10 Thread francky06l
Check about this in config/core.php Configure::write('Session.checkAgent', false); Set also the Security.level to medium On Sep 9, 11:28 pm, Sanza wrote: > I have already worked with cakephp 1.2 and i have made some > applications without problems about the acl but when i decided to us

Problem to Login with "Simple Acl controlled Application" tutorial cakephp 1.3 - Lost session

2010-09-09 Thread Sanza
I have already worked with cakephp 1.2 and i have made some applications without problems about the acl but when i decided to use the new cakephp 1.3 i found this problem. Note: I have triple checked all steps of the tutorial Simple Acl controlled Application for cakephp 1.3, restart completely ma

Simple Acl controlled Application Tutorial & Cannot modify header information

2010-06-03 Thread ArGoN
I've just began to cook cakePHP. I am following Simple Acl controlled Application Tutorial. It's so frustrating that I'm having this error and don't know how to trace it. Right after creating app_controller.php, I started getting this error on add group page. I finnished t

Re: 10.2 Simple Acl controlled Application tutorial problem

2009-10-01 Thread brian
Someone else posted 2 days ago about the same problem :-) Change the line with App::objects() to use: Configure::listObjects('controller'); On Thu, Oct 1, 2009 at 6:15 AM, Marcelo wrote: > > Hi everyone, I'm doing the cakephp.org acl tutorial and I'm stuck in > the section > > 10.2.6 An Automa

10.2 Simple Acl controlled Application tutorial problem

2009-10-01 Thread Marcelo
Hi everyone, I'm doing the cakephp.org acl tutorial and I'm stuck in the section 10.2.6 An Automated tool for creating ACOs link:http:// book.cakephp.org/view/647/An-Automated-tool-for-creating-ACOs there is a function that suppose to add acos based on the controllers or something like that, wh

Re: Simple Acl controlled Application Tutorial - Problem with release 1.2.5??

2009-09-30 Thread Eric
r index [25] => Created Aco node for view [26] => Created Aco node for add [27] => Created Aco node for edit [28] => Created Aco node for delete ) After this I get some errors about not having a view for this controller, but I think that is expected. Hopefully this

Re: Simple Acl controlled Application Tutorial - Problem with release 1.2.5??

2009-09-29 Thread brian
I just ran into the same thing recently. Use $Controllers = Configure::listObjects('controller'); On Tue, Sep 29, 2009 at 10:10 AM, robmcvey wrote: > > We aregoing through the "Simple Acl controlled Application Tutorial" > as per the manual. > > Everything is

Simple Acl controlled Application Tutorial - Problem with release 1.2.5??

2009-09-29 Thread robmcvey
We aregoing through the "Simple Acl controlled Application Tutorial" as per the manual. Everything is going fine until we try and run the "Automated tool for creating ACOs" in this section; http://book.cakephp.org/view/647/An-Automated-tool-for-creating-ACOs When we run th