[Catalyst] Customizing Authentication/Roles

Christopher H. Laco claco at chrislaco.com
Wed Sep 13 03:09:58 CEST 2006

Matt S Trout wrote:
> Christopher H. Laco wrote:
>> 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?
> Multiple site instances.
> See Dave Kamholz (ningu)'s branch.


app_context_split?   Age: 2 months

No thanks. If it's not release, it doesn't exist for this project.

-------------- 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/1a07f655/attachment.pgp 

More information about the Catalyst mailing list