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_______________________________________________ maypole mailing list maypole at lists.netthink.co.uk http://lists.netthink.co.uk/listinfo/maypole
This archive was generated by hypermail 2.1.3 : Thu Feb 24 2005 - 22:25:57 GMT