Re: [Catalyst] Paradigm question: how to use ResultSet level security based on $c-user?

2011-10-24 Thread Tomas Doran
On 11 Oct 2011, at 17:57, will trillich wrote: Is this Kosher? Yes, this is entirely fine! You may however want to look at Catalyst::TraitFor::Model::DBIC::Schema::WithCurrentUser, which will help your DBIC schema 'magically' get hold of the user if available, and

Re: [Catalyst] Paradigm question: how to use ResultSet level security based on $c-user?

2011-10-18 Thread Eden Cardim
will == will trillich will.trill...@serensoft.com writes: will Question: when a user logs in to our Catalyst app, he/she will should only see the items he/she is allowed to see. But the will only way we can figure how to do this is to pass $c-user will either to the ResultSet

[Catalyst] Paradigm question: how to use ResultSet level security based on $c-user?

2011-10-11 Thread will trillich
Question: when a user logs in to our Catalyst app, he/she should only see the items he/she is allowed to see. But the only way we can figure how to do this is to pass $c-user either to the ResultSet methods or to the FormHandler methods, making the app more and more interdependent... Is there a