Dave Howorth wrote:
> I've been writing a role-based authorization plugin for Maypole.
>
> I've attached an initial version of this. It should help to stimulate
> the discussion and people may find they are able to use it, though there
> are no warranties. I'm open to any questions or suggestions for
> improvement. I'll try to post some auxiliary files later (database dump,
> my actual BeerDB.pm, anything else?).
>
> Cheers, Dave
Hey Dave,
Why don't you put a column "is_default" (or some such) on the auth_roles
table to facilitate:
Create new user
...Newly created users should automatically be
assigned to the 'default' role.
then on user creation you could stick the appropriate data in
role_assignments
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