ryanb/cancan — Issue #575: Is it possible to use cancan in a model?
Author: tonymarschall
Created: 2012-03-08 06:45:48+00:00
State: open

I have a model with a statemachine and i want to limit different states/events/transitions to different users.

How can i access current user and ability in this model?