I guess it doesn't have any Linq extensions to add permissions to
IQueryables....

On 20 sep, 15:07, Jeff <[email protected]> wrote:
> It looks like there's a successful upgrade to 3.2 
> athttps://github.com/coxp/rhino-security
>
> On Sep 20, 2:22 pm, Jeff <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hi, I'm in the middle of my own rhino-security  / NH 3.x issues.  It
> > seems upgrading the NH version to 3.2 causes some issues:
>
> >   * Rhino.Commons doesn't seem to be available against 3.x which means
> > the active record assembly is pretty much toast
> >   * There seem to be a significant number of test failures due to what
> > look like sql generation bugs in sqlite.  switching over to using
> > mssql for the tests seems to fix most (but not all) of these but makes
> > the tests painful
>
> > I was looking at a syntax like:
> >    _session.Query<Widget>().WithPermissions(currentUser, "frob")
>
> > On Sep 20, 11:13 am, sabanito <[email protected]> wrote:
>
> > > Hi There,
>
> > > I'm using Rhino Security with NH 2.1.2. I'm using NH.Linq for all my
> > > queries, and since I needed to use the "AddPermissionsToQuery" I used
> > > the same that NH.Linq uses to convert Linq to ICriteria (http://
> > > stackoverflow.com/questions/684696/nhibernate-linq-and-multicriteria).
> > > I'm thinking to upgrade my NH to 3.0, and I've read that it no longer
> > > converts Linq to ICriteria, since its Linq was rewritten.
>
> > > I'm willing to extend Rhino Security to add permissions to an
> > > IQueryable
>
> > > Any guidance there?
>
> > > Thx!

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en.

Reply via email to