Wouldn't it be easier to set the user's role based on session[:key]?
Please have a look at the examples in the README.
Steffen
It isn't possible. Conditions are meant to be object/user-specific.
There have been discussions on this list on how to implement arbitrary
conditions, but I have yet to receive a patch on that. The primary problem is
that we should be able to turn the conditions into db query conditions.
> I also emailed the gem author last week, but have not heard back.
That's me :)
Steffen