[Catalyst] Roles: DBIC
Andy Grundman
andy at hybridized.org
Thu Jan 26 20:46:06 CET 2006
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.
-Andy
More information about the Catalyst
mailing list