Ash FrameworkAF
Ash Framework3y ago
17 replies
Myrmyr

Ash dropping FilterCheck if there's `authorize_if always()`

Hi, I've got a resource that in it's action has:
authorize_if MyApp.FilterByActorId
authorize_if always()

Previously there were other checks instead of always() but we've loosened our constraints.

When we've changed it to always() the FilterByActorID stopped applying

My question is, is this the intended behaviour or is it a bug?
Was this page helpful?