API Reference LetMe v#3.0.0

Copy Markdown View Source

Modules

LetMe is a library for defining and evaluating authorization rules and handling query scopes and field redactions.

This module defines a DSL for authorization rules and compiles these rules to authorization and introspection functions.

A struct for an authorization rule.

Defines a behaviour with callbacks for scoping and redactions.

Raised by LetMe.Policy.authorize!/4 if a request is unauthorized.