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

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

@wolfieorama

Description

@wolfieorama

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions