Basics
This check is disabled by default.
Learn how to enable it via .credo.exs.
This check has a base priority of high and works with any version of Elixir.
Explanation
An unscoped policy using authorize_if always() allows anyone —
including unauthenticated requests — to perform all actions.
Scope permissive policies to specific actions or action types:
policy action_type(:read) do
authorize_if always()
end
policy action([:register, :sign_in]) do
authorize_if always()
endCheck-Specific Parameters
There are no specific parameters for this check.
General Parameters
Like with all checks, general params can be applied.
Parameters can be configured via the .credo.exs config file.