Hi All,

I am trying to use Rhino Security for "row level security".

For every criteria I should call Rhino Security authorizationService
for adding permission:
authorizationService.AddPermissionsToQuery(user, "/Account/Edit",
criteria);

It looks not very good(as for me). It is better to have this call in
one place.
As I understand, all DB requests in NHibernate translated into
Criteria API before execution(correct me if I am not right). So, my
question:
Is it possible intercept criteria before execution and add row level
security permission?

Thanks,
Valeiy.

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" 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/nhusers?hl=en.

Reply via email to