Dave Howorth wrote:
> Hi Jay,
>
> You mean so the user creation action could say:
>
> my $default_role = BeerDB::AuthRoles->search( is_default => 1 );
>
> instead of:
>
> my $default_role = BeerDB::AuthRoles->search( name => 'default' );
>
> I'm not sure an extra column on every row is worth one hard-coded
> constant. Are there any strong arguments?
>
> Cheers, Dave
>
I'm sorry, I misunderstood. I wasn't thinking of a role called
"default" I was thinking more along the lines of "general_user" or
"order_entry_clerk". Your way is better
Jay
_______________________________________________
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