I keep getting an error trying to use ActiveAdmin in my Rails application with Devise and CanCan. The error is:
CanCan::AuthorizationNotPerformed in Admin::FindingsController#index
This action failed the check_authorization
because it does not authorize_resource
. Add skip_authorization_check
to bypass this check.
I've looked extensively and cannot find a solution that seems to work.
ActiveAdmin以不同的方式授权请求,您不能将check_authorization
与ActiveAdmin check_authorization
使用。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.