cancan
cancan copied to clipboard
CanCan is not allowing to initialize 2 users to have access to resources. Only one works at a time
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?
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 :smile: