We have a use case where we need to perform custom policy validation in an allow policy. I assume we should use ExternFunc to have it perform our specialized logic, based on facts that are in the Authority block.
I see the API allows a left and an optional right arg, that will work for our purposes.
Is this the right way to do this? Can you point us to an example?
We have a use case where we need to perform custom policy validation in an
allowpolicy. I assume we should useExternFuncto have it perform our specialized logic, based on facts that are in theAuthorityblock.I see the API allows a
leftand an optionalrightarg, that will work for our purposes.Is this the right way to do this? Can you point us to an example?