Query: catalyst::action::role::acl
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
Catalyst::Action::Role::ACL(3pm) User Contributed Perl Documentation Catalyst::Action::Role::ACL(3pm)NAMECatalyst::Action::Role::ACL - Deprecated user role-based authorization action classSYNOPSISsub foo :Local :ActionClass(Role::ACL) :RequiresRole(admin) :ACLDetachTo(denied) { my ($self, $c) = @_; ... } sub denied :Private { my ($self, $c) = @_; $c->res->status('403'); $c->res->body('Denied!'); }DESCRIPTIONProvides a Catalyst reusable action for user role-based authorization. ACLs are applied via the assignment of attributes to application action subroutines. You are better using Catalyst::ActionRole::ACL to do this, as it plays nicely with other extensions. This package is maintained to allow compatibility with people using this in existing code, but will warn once when used.AUTHORDavid P.C. Wollmann <converter42@gmail.com>BUGSThis is new code. Find the bugs and report them, please. COPYRIGHT & LICENSE Copyright 2009 by David P.C. Wollmann This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.14.2 2012-07-13 Catalyst::Action::Role::ACL(3pm)
Similar Topics in the Unix Linux Community |
---|
awk or sed - Convert 2 lines to 1 line |
How can I do this in VI editor? |
Is UNIX an open source OS ? |
Introduction |
Detecting unused variables... |