Comments: Access Control Lists

By gregs on 24/3/08

1 - Poor indexing

As far as I can tell in

Defining Permissions: Cake's INI-based ACL

"To learn how to use Cake's ACL component to check permissions using this INI file, see section 11.4."

11.4?? I don't think this exists or ever did or simply the need to specify a section by name and not number.

In the file itself are some sudo unhelpful examples

"; groups = group1, group2, group3

; allow = aco1, aco2, aco3

; deny = aco4, aco5, aco6"

This gives me the general picture but doesn't tell what to actually type in the file. aco1? a real example like

allow = "user:delete",

or something like that would be so much more helpful. Keep in mind I have no idea what really should be typed, this is just an example.

Also could anyone with an understanding of the ACL componant determin whether or not this whole section can be ported to the 1.2 manual.

ACL and Auth documentataion is Cakephp's greatest weakness. The new Auth tutorial in 1.2 is good but without a clear explaination of how to use ACL with it, it just doesn't solve the needs of so many. There are dozen of tutorials all over teh web on ACL but they all fall short in one way or another. Is some one will take teh plunge and start a tutorial in teh 1.2 manual I will work with them to make sure it is clear and well written.

Thanks