We're using Ash.Policy.FilterCheck and it seems the return type may have changed, we were returning true if all access, expr for subset access and false for no access.
After upgrading, the
true
true
isn't letting any records come out. I saw the return type is either a keyword list or expression.
What is the keyword list we should return?
I've trued
{:ok, true}
{:ok, true}
,
{:halt, true}
{:halt, true}
and
{:cont, true}
{:cont, true}
but none of these let us have the previous behaviour of allowing all like before.
The Elixir backend framework for unparalleled productivity. Declarative tools that let you stop wasting time. Use with Phoenix LiveView or build APIs in minutes for your front-end of choice.