RE: [Maypole] Maypole 3.0 brainstorming

From: Sebastian Riedel (sri at oook.de)
Date: Wed Oct 27 2004 - 17:25:04 BST


CUMMING, Joe, FM:
> Can we granularize access permissions at a function level by expanding the
> list of function decorators, e.g.
>
> sub recent :Exported {
> // default access
> }
>
> sub recent :Exported Protected() {
> // only visible to those with some set permissioning
> }
>
> sub recent :Exported Protected(Admin) {
> // only visible to those with admin permissioning etc
> }
>

In Maypole::Model::Base is an is_public() method which is meant to be
overloaded for these things.

sebastian

_______________________________________________
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:56 GMT