[Maypole] Maypole::Plugin::Authorization
Dave Howorth
Dave.Howorth@acm.org
Wed, 12 Jan 2005 23:20:42 +0000
Peter Speltz wrote:
>> I've been writing a role-based authorization plugin for Maypole.
>
> I like this. Perhaps the get_authorized_methods should take a
> optional class argument.
I don't understand? It already takes a class argument. If you want that
to be optional I don't understand the purpose of a list of methods
without classes. Or do you mean you want to wrap the effect of
foreach class (get_classes(user))
get_methods(user, class)
in a single call?
Cheers, Dave
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.10 - Release Date: 10/01/05