I’ve got devise working, but I see CanCan frequently mentioned in tutorials alongside Devise; is it meant to be complementary or is CanCan an alternative to Devise?
I’ve got devise working, but I see CanCan frequently mentioned in tutorials alongside Devise;
Share
CanCan covers authorization – who is allowed to do what. Devise handles authentication – Are you truly you? That’s how they complement each other. You can use one without the other.
See for example https://auth0.com/docs/get-started/identity-fundamentals/authentication-and-authorization.