Ash FrameworkAF
Ash Framework3mo ago
222 replies
allenwyma

Upgrade to 3.7.6 Broke FilterCheck

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
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}, {:halt, true} and {:cont, true} but none of these let us have the previous behaviour of allowing all like before.
Was this page helpful?