Is it possible to restrict access to ActiveAdmin collection_action?

138 views Asked by At

I want to restrict access to ActiveAdmin collection_action. Is it possible to do it somehow?

I need something like this:

collection_action :send_emails, method: :post, if: proc { authorized? }
1

There are 1 answers

0
mcfoton On

Definitely, you can use their standard Authorization Adapter https://activeadmin.info/13-authorization-adapter.html