[Catalyst] Customizing Authentication/Roles
Christopher H. Laco
claco at chrislaco.com
Wed Sep 13 00:48:30 CEST 2006
As I start laying out the framework for Mango, one of the things I want
to do is use roles on a virtual 'per site' basis; within the same cat app.
From a table standpoint, that is roughly:
sites:
id, name
users
id, username, password
roles
id, site_id, name
users_roles
site_id, user_id, role_id
When a user logs in, they may have different roles for different sites.
Maybe they're an admin for one site, but only a publisher for another.
Two sites maybe have the same role name, which means the stock ROles
stuffs in Auth isn't going to cut it.
I want to reuse as much of what exists as possible from Auth/Roles, but
I haven't a clue on what direction to start making changes.
Any ideas on how you would do this?
-=Chris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060912/1cdd8b13/attachment.pgp
More information about the Catalyst
mailing list