Hi Arthur,

Thank you for your answer. I tackled my problem now in a kind I did hope I 
didn't need. 

Instead of setting CRUD permissions for each controller and mapping the actions 
to the CRUD options, I give now full permission to each action. That seams to 
work.

I wonder if $this->Auth->mapActions isn't working or if I used it the wrong way.

Anja

-----Ursprüngliche Nachricht-----
Von: cake-php@googlegroups.com [mailto:cake-...@googlegroups.com] Im Auftrag 
von Arthur Pemberton
Gesendet: Dienstag, 16. Dezember 2008 17:52
An: cake-php@googlegroups.com
Betreff: Re: Auth: Why has my user no access to this action?


On Tue, Dec 16, 2008 at 8:34 AM, Liebermann, Anja Carolin 
<anja.lieberm...@alltours.de> wrote:
>
> Another strange thing: my user has no rights to logout.
>
> Question: What are the proper permissions for the user controller? Do I have 
> to set the permissions for login and logout?
> I have heard here be some, who said never give permission to login, others 
> wrote, yes, do so.
>
> How are your permissions on users controller if you use Auth and ACL?
>
> Anja


I personally have a beforeFilter making login and logout pubic.
Tehcnically, only login needs to be public.


--
Fedora 9 : sulphur is good for the skin
( www.pembo13.com )



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to