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
-~----------~----~----~----~------~----~------~--~---