Devise, Rolify and Cancan to ActiveAdmin
Asked Answered
S

1

4

I am developing an app using Devise, Rolify and CanCan. Can I shift it completely to be administered by ActiveAdmin. Is there any documentation for that?

Squeak answered 11/8, 2012 at 18:52 Comment(2)
This will help you to achieve your task... dan.doezema.com/2012/02/…Divinity
Furthermore, there is a tutorial describing how to use Devise, CanCan and rolify together. I can imagine that you could combine both guides to setup your project.Biscay
M
3

I know it's been a while since the question was asked... but as I found it while doing a google search, I think I can post an answer to help others.

So! There is a documentation to make ActiveAdmin use Cancan for its authentication and authorization system. Here is a very simple how to add a CancanAdapter in ActiveAdmin

In fact they even explain how to create your own Authorization Adapter.

And yeah, Rolify does have a good documentation on how to make it work with Devise + Cancan

Thanks to those two documentations every Rails developer should be able to make all the pieces fit together. I'll be glad to help anyone in trouble by providing more information if needed.

Malaria answered 18/9, 2013 at 12:59 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.