Hi everybody,

I'm trying to use the ACL, but I don't understand some stuff.

I have created the 3 tables (aros, acos, aros_acos) with the CLI.
Fine.
I have a Groups table (called 'admin_groupes' in my case).
I have a Users table (called 'administrateurs' in my case), with a FK
called "admin_groupe_id"

I want create 3 aros : SuperAdmin, Admin, Redacteur that correspond to
my AdminGroupes

So, I want create my first aro with the CLI and the mystery start!
How must I launch my command in CLI?

Because I've tested this :

cake acl create aro AdminGroupe 1 null "Super Admin"

and I've this error message : Could not find parent node using
reference "AdminGroupe"

If I launch this other command:

cake acl create aro / null "Super Admin"

I obtain this message : New Aro 'null' created.

And finally, if I launch : cake acl create aro / "Super Admin", that
works fine, but the "model" and "foreign_key" fields from my aros
table are empty... Why? Is it normal?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to