ryanb / cancan

Authorization Gem for Ruby on Rails.
MIT License
6.26k stars 782 forks source link

CanCan::AuthorizationNotPerformed in AdminPanel::DashboardController#index #1035

Open wolfieorama opened 9 years ago

wolfieorama commented 9 years ago

How can I Whitelist the whole of activeadmin and devise to no use cancan to skip authorization, so far

> check_authorization unless: :devise_controller?

works for login page only but cant get past that as it throws the error

> CanCan::AuthorizationNotPerformed in AdminPanel::DashboardController#index

is possible to have the check_authorization unless allow more than one parameeter, how can i do that as having it in multiple lines doesnt work and also pitting in array doesnt seem to as well

cheers

dgilperez commented 8 years ago

This project is discontinued. Go to https://github.com/CanCanCommunity/cancancan instead.