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

CanCan is not allowing to initialize 2 users to have access to resources. Only one works at a time #1040

Open
ashu65 opened this issue Jun 20, 2016 · 1 comment

Comments

@ashu65
Copy link

ashu65 commented Jun 20, 2016

In my code, if have 2 kinds of users, expert and client. If I initialize client, the resources allowed for expert are not accessible, and if I do not initialize client, then the resources for expert are accessible but not accessible for the client. How do I deal with this issue?

@davidakachaos
Copy link

davidakachaos commented Jul 12, 2016

I think you are better off using cancancan instead of cancan. Cancan isn't actively being maintained, and cancancan is.
Cancancan is a drop-in replacement of cancan. Try it out 😄

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