I've tried use Authorization::Roles in my Catalyst app. Authentication works right but when I use $c->check_user_roles("admin");
it always returns false. What's wrong?
Some config:
store => {
class => 'DBIx::Class',
user_model => 'Mymodel::User',
id_field => 'name',
role_field => 'rolename', # in my table there is the same column
# name undoubtedly
}