[Catalyst] ACL Error: deny_access_unless

gordon at gorste.plus.com gordon at gorste.plus.com
Sat May 23 16:21:48 GMT 2009


Dear List

Has anyone have any issues with:

Catalyst::Plugin::Authorization::ACL  0.11                                 |
Catalyst::Plugin::Authorization::Roles  0.07

i am adding some access control to my catalyst application.  When I start
up my application I see the following:

Class Catalyst::Dispatcher is calling the deprecated method
Catalyst::Dispatcher::tree,
this will be removed in Catalyst 5.9X at
/usr/local/share/perl/5.8.8/Catalyst/Dispatcher.pm line 713.

The access control section:

__PACKAGE__->deny_access_unless( "/admin/user", [ 'Admin' ] );

fails every time, regardless if the user has the right or not.

The same code works on catalyst 5.7012.  There also does not seam to be
any documentation for using Catalyst  5.80002.

Can any one help in resolving this issue I am facing.

Regards

Gordon






More information about the Catalyst mailing list