全部搜尋項
bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: ruby-cancancan  ]

套件:ruby-cancancan(3.0.1+gh-1)

ruby-cancancan 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 ruby-cancancan

維護小組:

外部的資源:

相似套件:

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 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 ruby-cancancan

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 29。4 kB131。0 kB [檔案列表]