RubyGems Navigation menu

crewd_policies 0.4.0

CrewdPolicies enables conventional Pundit (https://github.com/elabs/pundit) policies to be written using an opinionated pattern based on declarative Create, Read, Execute (optional), Write and Destroy (CREWD) permissions for each resource. Conventional pundit create?, show?, update? and destroy? permissions are automatically derived from these, as well as permitted_attributes/strong parameters.

Gemfile:
=

安装:
=

版本列表:

  1. 0.4.0 May 09, 2017 (15.0 KB)
  2. 0.3.3 April 11, 2017 (15.0 KB)
  3. 0.3.2 April 01, 2017 (15.0 KB)
  4. 0.3.1 March 31, 2017 (14.5 KB)
  5. 0.3.0 March 31, 2017 (14.5 KB)
显示所有版本 (共 8 个)

Runtime 依赖 (2):

pundit >= 1.1.0, ~> 1.1
standard_exceptions >= 0.1.4.0, ~> 0.1.4

Development 依赖 (5):

activerecord ~> 4.2
activesupport ~> 4.2
bundler ~> 1.12
rake ~> 10.0
rspec ~> 3.0

业主:

作者:

  • Gary McGhee

SHA 256 校验和:

=

下载总量 16,038

这个版本 2,609

版本发布:

许可:

MIT

需要的 Ruby 版本: >= 0

链接: