bodyguard v0.6.0 API Reference
Modules
Bodyguard imposes a simple module naming convention to express authorization policies
Include this module in your Phoenix/Plug controllers to gain wrapper functions for authorization
Behaviour to authorize actions on a particular resource
Convenience functions for view authorization
Exceptions
Raised when authorization fails, or when an authorization check has not been performed by the end of the Plug pipeline