Closed ahey closed 2 months ago
With the recently added no_filter_static_forbidden_reads? option, we have:
no_filter_static_forbidden_reads?
Keyword.get( Application.get_env(:ash, :policy, []), :no_filter_static_forbidden_reads?, true )
However, the getting started guide instructs to add:
config :ash, :policies, no_filter_static_forbidden_reads?: false
We should either change the former code from policy to policies, or the latter from policies to policy. I didn't know which way round it should be so have not submitted a PR.
policy
policies
Oops 🤦 , thanks for pointing this out. I'll cut a new release with this using the correct configuration.
With the recently added
no_filter_static_forbidden_reads?
option, we have:However, the getting started guide instructs to add:
We should either change the former code from
policy
topolicies
, or the latter frompolicies
topolicy
. I didn't know which way round it should be so have not submitted a PR.