policy_wonk v0.2.0 API Reference
Modules
A lightweight authorization and resource loading tool for use with any Plug or Phoenix application
This the main policy enforcement plug
This plug enforces policies for each action in a Phoenix controller
This the resource loading plug
To keep resource loading logic organized, PolicyWonk uses load_resource
functions that you create either in your controllers, router, or a central location
To keep authorization logic organized, PolicyWonk uses policy functions that you create either in your controllers, router, or a central location