Rails: authorization

Adding login/logout, roles and authorizations

In any moderately complex web application, you are likely to need users to be able to save data to a database.

This means you need login/logout with usernames and passwords (otherwise, you’ll have spammers and vandals filling up your database in no time).

You’ll probably then need some kind of differentiation between regular users and admin users.

Rails gems for authorization and roles

These can be combined in various ways. A few notes: