Hello!

As a new Cake user this group is a life saver, it really fills in the
holes.  I hope after I've learned a bit I can start answering more
questions than I ask.

Anyway, I've read the manual on ACL and what articles I've found and
do not understand how to allow or deny access for an entire site to a
user or group.  I'd like to start with deny all and then give
privileges to specific groups or users (or vice versa).  Unfortunately
when I tried both of the below syntaxes I get "invalid node" errors.

$this->Acl->allow('Admins', '/');
$this->Acl->deny('Anon', '*');

Also, just to be sure I understand ACL... the way I plan to check for
access is in beforeFilter using something like:
$access = $this->Acl->check($this->Session->read('username'), $this-
>name, $this->action);
Please correct me if I am wrong.

I'm using version cake_1.1.16.5421

Thanks again!!
Shawn


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

Reply via email to