Ruby on Rails Authorization with CanCan

Help us to keep this website almost Ad Free! It takes only 10 seconds of your time:
> Step 1: Go view our video on YouTube: EF Core Bulk Extensions
> Step 2: And Like the video. BONUS: You can also share it!

Introduction

CanCan is a simple authorization strategy for Rails which is decoupled from user roles. All permissions are stored in a single location.

Remarks

Before using CanCan don't forget to create Users either by devise gem or manually. To get maximum functionality of CanCan do create an Admin user.



Got any Ruby on Rails Question?