Skip to content
Sections
>> Trisquel >> 软件包 >> nabia >> ruby >> ruby-cancancan
nabia  ] [  aramo  ]
[ 源代码: ruby-cancancan  ]

软件包: ruby-cancancan (3.0.1+gh-1)

Authorization Gem for Ruby on Rails

CanCanCan is an authorization library for Ruby >= 2.2.0 and Ruby on Rails >= 4.2 which restricts what resources a given user is allowed to access.

All permissions can be defined in one or multiple ability files and not duplicated across controllers, views, and database queries, keeping your permissions logic in one place for easy maintenance and testing.

It consists of two main parts:

 1. Authorizations library that allows you to define the rules to access
different objects, and provides helpers to check for those permissions.
 2. Rails helpers to simplify the code in Rails Controllers by performing the
loading and checking of permissions of models automatically and reduce duplicated code.

其他与 ruby-cancancan 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: ruby
    Interpreter of object-oriented scripting language Ruby (default version)
    或者 ruby-interpreter
    软件包暂时不可用

下载 ruby-cancancan

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 22.0 kB131 kB [文件列表]