Subject: | Does not play nicely with Catalyst::Action::REST |
Date: | Thu, 09 Jul 2009 11:35:02 +0100 |
To: | bug-Catalyst-Action-Role-ACL [...] rt.cpan.org |
From: | Tomas Doran <bobtfish [...] bobtfish.net> |
Hi
Catalyst::Action::Role::ACL is incompatible with Catalyst::Action::REST,
as they are both action classes.
It would be possible to make Catalyst::Action::Role::ACL a 'proper'
action role (ala Catalyst::Controller::ActionRole), and then the two
modules would be compatible, and could be used together.
It would also fix the namespacing of Catalyst::Action::Role::ACL, which
I think is confusing, as Catalyst::Action::Role is the hierarchy which
is encouraged for Roles (in the Moose Role sense)..
I'd like Catalyst::Action::Role::ACL to replace
Catalyst::Plugin::Authorization::ACL as the official / tutorial solution
for doing this stuff, but I don't want to do that given the current
drawbacks with the code..
Would you accept patches to change this (perhaps with a version
increment to 1.X, as it would be a breaking change)?
Cheers
t0m