[Catalyst] Roles: DBIC
David Hodgkinson
davehodg at gmail.com
Thu Jan 26 20:52:05 CET 2006
On 26 Jan 2006, at 19:46, Andy Grundman wrote:
> Kiefer, Sascha wrote:
>> authentication:
>> dbic:
>> user_class: 'MyApp::Model::DBIC::OwmUser'
>> user_field: 'username'
>> password_field: 'password'
>> password_type: 'salted_hash'
>> role_class: 'MyApp::Model::DBIC::OwmRole'
>> role_field: 'rolename'
>> role_rel: 'roles'
>> user_role_user_field: 'userId'
>
> The last 4 role options need to be in:
> authorization->{dbic}
>
> Please try copying the example configs from the docs.
That *is* one of the examples in the docs.
More information about the Catalyst
mailing list