Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

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

Open
wolfieorama opened this issue Nov 30, 2015 · 1 comment

Comments

@wolfieorama
Copy link

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
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants