LetMe
▼
Project version
v1.2.5
v1.2.4
v1.2.3
v1.2.2
v1.2.1
v1.2.0
v1.1.0
v1.0.3
v1.0.2
v1.0.1
v1.0.0
v0.2.0
v0.1.0
Pages
Modules
API Reference
Modules
LetMe
Installation
Policy module
Check module
Callbacks
Scoped queries
Field redactions
Why use this library?
When not to use this library?
Status
Alternatives
Changelog
Unreleased
[1.2.5] - 2025-03-26
[1.2.4] - 2024-04-22
[1.2.3] - 2023-11-11
[1.2.2] - 2023-06-28
[1.2.1] - 2023-06-28
[1.2.0] - 2023-06-19
[1.1.0] - 2023-05-08
[1.0.3] - 2023-03-21
[1.0.2] - 2023-01-05
[1.0.1] - 2022-11-06
[1.0.0] - 2022-11-06
[0.2.0] - 2022-07-12
[0.1.0] - 2022-07-11
Cheatsheets
Rules and Checks
Minimal example
Check examples
Rule examples
Pre-hooks
Metadata
LetMe
Summary
Functions
filter_allowed_actions/4
filter_rules/2
redact/3
reject_redacted_fields/4
LetMe.Policy
Sections
Usage
Check module
Combining checks
Pre-hooks
Summary
Callbacks
authorize/4
authorize!/4
authorize?/4
fetch_rule/1
fetch_rule!/1
filter_allowed_actions/3
get_object_name/1
get_rule/1
get_schema/1
list_rules/0
list_rules/1
Functions
action/2
allow/1
deny/1
desc/1
metadata/2
object/3
pre_hooks/1
LetMe.Rule
Summary
Types
check/0
hook/0
t/0
LetMe.Schema
Sections
Usage
Scoping a query
Redacting fields
Summary
Types
redacted_fields/0
Callbacks
redacted_fields/3
scope/3
Exceptions
LetMe.UnauthorizedError
Search documentation of LetMe
Settings
LetMe.UnauthorizedError
exception
(LetMe v1.2.5)
View Source
Raised by
LetMe.Policy.authorize!/4
if a request is unauthorized.