<html><body><div style="font-family: trebuchet ms,sans-serif; font-size: 10pt; color: #330099"><div>Hi , <br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>the roles of my users cannot be represented in a table column</div><div>for a separate relation . It involves some logic that can be put<br data-mce-bogus="1"></div><div>in a subroutine/method of my DBIx::Class schema object <br data-mce-bogus="1"></div><div>representing the user.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>my Auth setup is as below:<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>=====================================================<br>__PACKAGE__->config->{'Plugin::Authentication'} =<br>{<br> default => {<br> class => 'SimpleDB',<br> user_model => 'DB::MyProjectUser',<br> password_type => 'self_check',<br> }<br>} ;<br></div><div>=====================================================<br></div><div><br data-mce-bogus="1"></div><div>i have implemented the 'check_password' in MyProjectUser.pm<br>and it works well. What i need is similar flexibility to specify the </div><div>roles of an existing user . I cannot use role_field , role_relation <br> <br data-mce-bogus="1"></div><div data-marker="__SIG_PRE__"><br><br>Regds<br><br>Rajesh Kumar Mallah.<br>Redgrape Technologies ( https://www.redgrape.tech )<br>Mobile: 09811255597, Land: 011-49044122 <br>----------------------------------------------------------------------------------------------------------<br>Opportunities are usually disguised as hard work, so most people don't recognize them<br>----------------------------------------------------------------------------------------------------------</div></div></body></html>