I am using acitve admin with cancan in my projects. Cancan works fine in project except in admin/users section.
I am not able to do operations like show, destroy on users other than current_user.
Cancan is working fine with other resources of activeadmin but whatever operations i do in admin/user are applied on current_user.
I have given permission to admin as,
if user.has_role? :admin
can :manage, :all
end
and implemented activeadmin with existing User model.
Do you have any idea??
Thanks in advance.