[Catalyst] Using C::P::A::ACL and C::M::FormBuilder together?

Jason Kohles email at jasonkohles.com
Tue Feb 13 15:53:06 GMT 2007


On Feb 12, 2007, at 4:36 PM, Troy Davis wrote:

>
> Changing from Private to Action allows the forward to work, but now  
> the ACL is no longer enforced (although I can see the rule being  
> loaded in the debug output). This isn't unexpected, the  
> C::P::A::ACL docs say it only works with Private.
>
You've misunderstood what it means when it says it 'only works with  
Private', it means that if you have a sub like this:

sub foo : Path('bar') { }

Then the ACL can only be addressed by the name 'foo', not 'bar'.   
There is no reason to split your functions up like this.

-- 
Jason Kohles
email at jasonkohles.com
http://www.jasonkohles.com/
"A witty saying proves nothing."  -- Voltaire


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070213/f354eb73/attachment.htm


More information about the Catalyst mailing list