Skip to content

Custom AuthorizationΒ #86

@vincentcordel

Description

@vincentcordel

Hi there,

I have a problem securing the access in my backend. I'm not using Devise but a custom auth (based on M.Hartl's tutorial) with cancancan.

Ideally, I'd like to do the same than my other routes/controllers using load_and_authorize_resource and the can :manage of cancancan.

I'm really confused on how to do this, even more after reading different posts about the subject. The examples provided didn't really help.

Any ideas on how to solve this?

Thanks!

  • Vincent

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