Permit 0.4.0 and its companion packages (Permit.Ecto 0.3.0, Permit.Phoenix 0.5.0, Permit.Absinthe 0.3.0) have been released with several notable improvements. The headline feature is Igniter-powered zero-config setup via mix tasks like `mix permit.install`, which auto-detects your Ecto repo, app module, and web module. Permit.Phoenix 0.5.0 fixes a bug where `:index` routes scoped by non-id parameters were misclassified as singular, and adds a new `plural_actions/0` callback for declaring custom collection actions like `:feed` or `:search`. Additional patch tasks allow progressive adoption in existing controllers and LiveViews. Future work includes Ash Framework integration, Postgres Row-Level Security bridging, changeset-level authorization, and LiveView PubSub authorization.

5m read timeFrom curiosum.com
Post cover image
Table of contents
Patching existing controllers and LiveViews
358 Impressions