Skip Menu |

This queue is for tickets about the CGI-Application-Plugin-Authorization CPAN distribution.

Report information
The Basics
Id: 17480
Status: new
Priority: 0/
Queue: CGI-Application-Plugin-Authorization

People
Owner: Nobody in particular
Requestors: mark [...] summersault.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: (no value)
Fixed in: 0.02



Subject: wish: subroutine attributes to specify which ones need authorization
Hello, I'd like to be able to note which groups are allowed to access a run mode with attributes, like this: sub my_rm : authz('manager','admin') { } And have that trigger a prerun action that mean: return $self->authz->forbidden unless $self->authz->authorize('manager,'admin');