It throws a missing action error. I think what I'll do is add a
redirect under each action. Kind of gross, but I need to explain why to
the user anyways...
on24nl wrote:
> Define your actions as private if you want to completely deny acces:
>
> private function edit() {
> .....
> }
>
> On 15 okt, 18:41, gravyface <[EMAIL PROTECTED]> wrote:
>> I need a simple way to deny access to one or more actions in a
>> controller. I'm using Auth (no ACL), but on a certain date, I want to
>> deny access to a number of actions in one of my controllers. This
>> doesn't have to be scripted/cron'ed or anything; I don't mind flipping a
>> bit in the controller.
>> I guess I could use the ACL component, but it might be overkill as I
>> don't really have any other use for it.
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---