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?
Devise, Rolify and Cancan to ActiveAdmin
Asked Answered
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
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.
© 2022 - 2024 — McMap. All rights reserved.