Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Projects
None yet
2 participants
@ashu65
Copy link

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

This comment has been minimized.

Copy link

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 join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.