4

As title, warden is very pluggable, I wonder if there is anything works with warden/devise?

William Yeung
  • 10,368
  • 9
  • 36
  • 42

4 Answers4

4

I use http://github.com/ryanb/cancan with Devise, its great and requires very little setup, you only have to define the abilitys as CanCan defaults to using current_user for the logged in user, which devise provides.

Arcath
  • 4,331
  • 9
  • 39
  • 71
1

I've also used CanCan with Devise. It requires very easy to setup and all your authorization logic resides in a single file, in that way its very modularized.

leenasn
  • 1,466
  • 10
  • 16
1

I used acl9 with Devise. https://github.com/be9/acl9

I needed to dynamically grant authorization at the object level, which I don't think you can do with CanCan.

Kevin Tsoi
  • 1,807
  • 15
  • 16
0

You could try this, which might be able to work alongside:

http://railscasts.com/episodes/188-declarative-authorization

Josh Delsman
  • 3,022
  • 1
  • 18
  • 28