Policy for action stopped being called
In my
User
resource, I have this action:
And also this policy for it:
I expect that the NotConfirmedYet
policy will be called when running User.confirm_phone_number(user, %{code: "1234"})
, but it isn't.
I'm pretty sure this was working before, so I'm not sure if it is a bug in the new versions of Ash (I'm using the latest 2.9.11) or something else I messed up.1 Reply
Here is the check implementation:
Ah, turns out it was something stupid from my side, I totally forgot to add the actor 😅