Re: [Catalyst] catalyst authorization , self_check

2017-11-13 Thread Rajesh Mallah
Thanks it did work! and Thanks again for replying so soon! Kind Regards Rajesh Mallah. lib/MyProj/Schema/Result/MyProjUser.pm sub myrolecol { my ($self) = @_; my $log = Log::Log4perl->get_logger(); $log -> debug ("myrolecol has been called!"); return

Re: [Catalyst] catalyst authorization , self_check

2017-11-13 Thread Will Crawford
On 13 November 2017 at 15:21, Rajesh Mallah wrote: > Hi , > > the roles of my users cannot be represented in a table column > for a separate relation . It involves some logic that can be put > in a subroutine/method of my DBIx::Class schema object > representing the user.

[Catalyst] catalyst authorization , self_check

2017-11-13 Thread Rajesh Mallah
Hi , the roles of my users cannot be represented in a table column for a separate relation . It involves some logic that can be put in a subroutine/method of my DBIx::Class schema object representing the user. my Auth setup is as below: