crewd_policies 0.3.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:
=
复制到剪贴板
已复制!
安装:
=
Runtime 依赖 (2):
pundit
>= 1.1.0, ~> 1.1
standard_exceptions
>= 0.1.4.0, ~> 0.1.4