Invent, Drive, and Cancan for ActiveAdmin

I am developing an application using Devise, Rolify and CanCan. Can I completely transfer it to ActiveAdmin administration. Is there any documentation for this?

+4
source share
1 answer

I know that some time has passed since the question was asked ... but when I found it during a search on Google, I think I can post the answer to help others.

So! There is documentation that allows ActiveAdmin to use Cancan for its authorization and authorization system. Here is a very simple way to add a CancanAdapter to ActiveAdmin.

In fact, they even explain how to create your own authorization adapter.

And yes, Rolify has some good documentation on how to make it work with Devise + Cancan

With these two documents, every Rails developer should be able to assemble all the parts. I will be happy to help anyone with a problem by providing more information if necessary.

+3
source

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


All Articles