Re: [Maypole] Maypole::Plugin::Authorization

From: Dave Howorth (Dave.Howorth at acm.org)
Date: Wed Jan 26 2005 - 21:34:22 GMT


Josef Chladek wrote:
> many thanks for that. i have one problem getting the two auxiliary
> methods
>
> get_authorized_classes
> get_authorized_methods
>
> to work. whenever i call them i get a scalar value as return value.
> what are the methods supposed to return and how could you use them? i
> thought when passing my $r they should return a list of allowed
> classes/methods, correct?

Hi Josef,

They were untested and evidently unfinished functions! As they stand,
they execute a DBI $sth and you need to retrieve the results from that.
You're quite right, it would be more useful if they returned a list of
classes/methods. I'll finish writing them and issue an update.

Thanks for pointing this out.

Cheers, Dave

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.7.4 - Release Date: 25/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