I see what you are saying, but personally, I don't think that quite
falls under the jurisdiction of the Security component, as it's primary
purpose is to handle requests that come from outside, not inside (like
requestAction).

Also, what you're trying to do can still be done pretty simply without
the need for an extra method:

function beforeFilter( ) {
    if ($this->params['bare'] == 1 && !in_array($this->action,
array('allowed', 'actions', 'here'))) {
        $this->Security->blackHole();
    }
}


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

Reply via email to