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