user711643
user711643

Reputation: 297

ActiveAdmin ACL

I'm new to Ruby on Rails and one of the things that I like is the admin generator bundles like RailsAdmin ActiveAdmin etc. In my next project I'd like to use Ruby on Rails 3 and ActiveAdmin as backend. But I have no idea of how to achieve ACL in ActiveAdmin. Can someone explain or point me in the right direction please?

Upvotes: 0

Views: 855

Answers (2)

Amala
Amala

Reputation: 1748

ActiveAdmin has rather poor support for authorization in my opinion. If you want integrated CanCan then I recommend going with RailsAdmin. It unfortunately is not as customizable as ActivAdmin though.

Upvotes: 0

Andre Dublin
Andre Dublin

Reputation: 1158

Active Admin uses the Devise gem for authentication. The Devise team have a wiki on how to use cancan for authorization here https://github.com/plataformatec/devise/wiki/How-To:-Integrate-with-CanCan-for-roles-management

Upvotes: 1

Related Questions