Ash FrameworkAF
Ash Framework2w ago
4 replies
Aron Zwaan

Field Policy with Multiple conditions

Hi all,

I want to express a field policy that grants access if the actor meets condition (A or B) and (C or D). A - D are all modules implementing filter checks, so using expr(A or B) does not work. I also don't think this can be written as a sequential series of authorize_if X/forbid_unless Y etc.

Is there a way to write authorize_if A or B or authorize_if A and B?

Thanks in advance!
Was this page helpful?