ejschmitt / delayed_job_web

Resque like web interface for delayed job
MIT License
478 stars 189 forks source link

Custom Authorization #86

Open vincentcordel opened 8 years ago

vincentcordel commented 8 years ago

Hi there,

I have a problem securing the access in my backend. I'm not using Devise but a custom auth (based on M.Hartl's tutorial) with cancancan.

Ideally, I'd like to do the same than my other routes/controllers using load_and_authorize_resource and the can :manage of cancancan.

I'm really confused on how to do this, even more after reading different posts about the subject. The examples provided didn't really help.

Any ideas on how to solve this?

Thanks!