View Source Changelog
v0-2-0-unreleased
v0.2.0 (Unreleased)
enhancements
Enhancements
- [Janus]
use Janus
accepts optional defaults forJanus.Authorization.authorize/4
options - [Janus.Policy] Breaking:
policy_for
renamed tobuild_policy
- [Janus.Policy] Breaking:
before_policy_for
removed - [Janus.Policy] Pre-authorization hooks with
Janus.Policy.attach_hook/4
and friends - [Janus.Authorization] Breaking:
filter_authorized
renamed toscope
- [Janus.Authorization] Breaking:
authorize
now returns{:error, :not_authorized}
instead of:error
- [Janus.Authorization]
authorize/4
adds:repo
and:load_assocations
options - [mix janus.gen.policy] Overhaul generated policy helpers to more easily replace
Ecto.Repo
callbacks
v0-1-0-2022-12-25
v0.1.0 (2022-12-25)
First release.