[Catalyst] Authorization::ACL - basic question

Will Smith willbelair at yahoo.com
Thu Dec 7 17:09:24 GMT 2006


Hi, sorry if I ask a question that has been answered.
 How could I block out the whole set of actions instead of setting for each. For example:
 instead of doing authorization for each of action in books,pm controller such as:
 __PACKAGE__->deny_access_unless(
             "/books/delete",
             [qw/adminr/],
         );
 __PACKAGE__->deny_access_unless(
             "/books/edit",
             [qw/admin/],
         );
 
 Is there a general way do block the whole "/books" ? I've tried that and it hung.
 
 Thank you
 
 
---------------------------------
Everyone is raving about the all-new Yahoo! Mail beta.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20061207/3de6217d/attachment.htm


More information about the Catalyst mailing list