We have hosted the application cancan in order to run this application in our online workstations with Wine or directly.


Quick description about cancan:

CanCan is an authorization library (gem) for Ruby on Rails that allows you to define what actions (�abilities�) a user is allowed to perform in a single central class, named Ability. It cleanly separates authorization logic from controllers and views, and provides helper methods (can?, cannot?, authorize!) to enforce permissions throughout the app. Although the original CanCan has been archived / is no longer maintained, it remains a historically significant gem.

Features:
  • Define user permissions in a single Ability class rather than scattering logic across controllers and views
  • Helper methods in controllers and views like can?, cannot?, authorize! to test or enforce permissions
  • load_and_authorize_resource support: automatically loading resources and checking abilities for RESTful controllers
  • Ability to rescue from unauthorized access exceptions and handle accordingly (redirect, flash message, etc.)
  • Checks for authorization in all actions, with a mechanism to skip authorization where needed, or ensure it's always checked with check_authorization
  • Integration with Rails conventions (current_user, filters, controller/view helpers) so minimal boilerplate required in Rails apps using it


Programming Language: Ruby.
Categories:
Libraries

Page navigation:

©2024. Winfy. All Rights Reserved.

By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.