Rails ACL plugin that works with devise / warden?

As a name, the warden is very plugin, I wonder if there is anything with the warden / design?

+4
source share
4 answers

I use http://github.com/ryanb/cancan using Devise, its large and requires very little configuration, you only need to determine the features, by default for CanCan using current_user for the registered user who is developing.

+4
source

I also used CanCan using Devise. This requires a very simple setup, and all of your authorization logic is in a single file, thereby being very modular.

+1
source

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

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

+1
source

You can try this that can work together:

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

0
source

Source: https://habr.com/ru/post/1299511/


All Articles