Search code examples
headeruser-defined-functionsabacfaunadb

Is it possible to use request header as a parameter inside FaunaDB user defined function (UDF)?


Can I get the header's value somehow inside the UDF's body?

The idea is to implement our own ABAC based on custom header parameters (like userId, role, key, UDF, etc.).


Solution

  • Fauna queries do not have access to request headers.