CanCan

ryanb/cancan, на сайте с 09 декабря 2021, 04:27
The CanCan gem is no longer maintained. Please use another authorization library such as CanCanCan or Pundit. CanCan is an authorization library for Ruby on Rails which restricts what resources a given user is allowed to access. All permissions are defined in a single location (the Ability class) and not duplicated across controllers, views, and database queries.