|
|
| Line 39: |
Line 39: |
| $this->SimpleAuth->startup($this); | | $this->SimpleAuth->startup($this); |
| $this->SimpleAcl->startup($this); | | $this->SimpleAcl->startup($this); |
|
| |
| I '''was''' able to use this even when I was in an action that was in the aclExceptions array.
| |
|
| |
| I '''was not''' able to use this when ->enabled=false for SimpleAcl and SimpleAuth. It seems that disabling the components render them useless. So that means that for all-public controllers, if you want to access permission data you'll have to use aclExceptions instead of using the beforeFilter method of turning off permissions. If you don't, you'll get false for all inquiries because the components are disabled.
| |
| * This worked fine for me. [[User:Fligtar|Fligtar]] 03:33, 30 March 2007 (PDT)
| |
|
| |
|
| == Disabling Permissions in Controllers == | | == Disabling Permissions in Controllers == |